aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/diagnostics.s
diff options
context:
space:
mode:
authorAmaury de la Vieuville <amaury.dlv@gmail.com>2013-06-10 14:17:08 +0000
committerAmaury de la Vieuville <amaury.dlv@gmail.com>2013-06-10 14:17:08 +0000
commit4e9a96d810eb0cc126ebe6f18e536b474c84940c (patch)
tree764a3391728582c3d113f3e80a713c16045e7cff /test/MC/ARM/diagnostics.s
parent7c32502a7f81dfaddb79c9c8e5b1acc759e19af9 (diff)
downloadexternal_llvm-4e9a96d810eb0cc126ebe6f18e536b474c84940c.zip
external_llvm-4e9a96d810eb0cc126ebe6f18e536b474c84940c.tar.gz
external_llvm-4e9a96d810eb0cc126ebe6f18e536b474c84940c.tar.bz2
ARM: ISB cannot be passed the same options as DMB
ISB should only accepts full system sync, other options are reserved git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/diagnostics.s')
-rw-r--r--test/MC/ARM/diagnostics.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/ARM/diagnostics.s b/test/MC/ARM/diagnostics.s
index d65cfd7..b4b7386 100644
--- a/test/MC/ARM/diagnostics.s
+++ b/test/MC/ARM/diagnostics.s
@@ -371,3 +371,8 @@
@ CHECK-ERRORS: error: invalid operand for instruction
@ CHECK-ERRORS: msr foo, #0
@ CHECK-ERRORS: ^
+
+ isb #-1
+ isb #16
+@ CHECK-ERRORS: error: immediate value out of range
+@ CHECK-ERRORS: error: immediate value out of range