aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AArch64/arm64-v128_lo-diagnostics.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AArch64/arm64-v128_lo-diagnostics.s')
-rw-r--r--test/MC/AArch64/arm64-v128_lo-diagnostics.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/AArch64/arm64-v128_lo-diagnostics.s b/test/MC/AArch64/arm64-v128_lo-diagnostics.s
new file mode 100644
index 0000000..ffe29cf
--- /dev/null
+++ b/test/MC/AArch64/arm64-v128_lo-diagnostics.s
@@ -0,0 +1,11 @@
+// RUN: not llvm-mc -triple arm64 -mattr=neon %s 2> %t > /dev/null
+// RUN: FileCheck %s < %t
+
+ sqrdmulh v0.8h, v1.8h, v16.h[0]
+// CHECK: error: invalid operand for instruction
+
+ sqrdmulh h0, h1, v16.h[0]
+// CHECK: error: invalid operand for instruction
+
+ sqdmull2 v0.4h, v1.8h, v16.h[0]
+// CHECK: error: invalid operand for instruction