summaryrefslogtreecommitdiff
path: root/test/MC/AArch64/neon-scalar-neg.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AArch64/neon-scalar-neg.s')
-rw-r--r--test/MC/AArch64/neon-scalar-neg.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AArch64/neon-scalar-neg.s b/test/MC/AArch64/neon-scalar-neg.s
index 0e637da794..8e5d61dd24 100644
--- a/test/MC/AArch64/neon-scalar-neg.s
+++ b/test/MC/AArch64/neon-scalar-neg.s
@@ -3,6 +3,14 @@
// Check that the assembler can handle the documented syntax for AArch64
//----------------------------------------------------------------------
+// Scalar Negate
+//----------------------------------------------------------------------
+
+ neg d29, d24
+
+// CHECK: neg d29, d24 // encoding: [0x1d,0xbb,0xe0,0x7e]
+
+//----------------------------------------------------------------------
// Scalar Signed Saturating Negate
//----------------------------------------------------------------------