[AArch64] Add support for NEON scalar negate instruction.
[oota-llvm.git] / test / MC / AArch64 / neon-scalar-neg.s
index 0e637da794963f16f0c096ce27666e879e82a5fa..8e5d61dd2459c1faab3abe4baddfce28afb6695a 100644 (file)
@@ -2,6 +2,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
 //----------------------------------------------------------------------