aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/asm')
-rw-r--r--src/cmd/asm/internal/asm/testdata/loong64enc1.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmd/asm/internal/asm/testdata/loong64enc1.s b/src/cmd/asm/internal/asm/testdata/loong64enc1.s
index 60e253cec3..8da4824dbc 100644
--- a/src/cmd/asm/internal/asm/testdata/loong64enc1.s
+++ b/src/cmd/asm/internal/asm/testdata/loong64enc1.s
@@ -849,3 +849,13 @@ lable2:
XVFRECIPD X2, X1 // 41f89c76
XVFRSQRTF X2, X1 // 41049d76
XVFRSQRTD X2, X1 // 41089d76
+
+ // [X]VNEG{B/H/W/V} instructions
+ VNEGB V1, V2 // 22309c72
+ VNEGH V1, V2 // 22349c72
+ VNEGW V1, V2 // 22389c72
+ VNEGV V1, V2 // 223c9c72
+ XVNEGB X2, X1 // 41309c76
+ XVNEGH X2, X1 // 41349c76
+ XVNEGW X2, X1 // 41389c76
+ XVNEGV X2, X1 // 413c9c76