summaryrefslogtreecommitdiff
path: root/test/MC/ARM/diagnostics-noneon.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/diagnostics-noneon.s')
-rw-r--r--test/MC/ARM/diagnostics-noneon.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/ARM/diagnostics-noneon.s b/test/MC/ARM/diagnostics-noneon.s
new file mode 100644
index 0000000000..310344ad71
--- /dev/null
+++ b/test/MC/ARM/diagnostics-noneon.s
@@ -0,0 +1,7 @@
+@ RUN: not llvm-mc -triple=armv7-apple-darwin -mattr=-neon < %s 2> %t
+@ RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
+
+ vmov d5, d10
+ vmov q4, q5
+@ CHECK-ERRORS: error: instruction requires: NEON
+@ CHECK-ERRORS: error: instruction requires: NEON