aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-14 18:02:25 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-14 18:02:25 +0000
commit791feea10071223886e2fe2bfa0e1f4cb2c0ce74 (patch)
tree71a2a68f1da818e0b8da9b8ac56ccdb04d40225e /test/MC
parent9854e1bebe010a57b1d65b214db350027829d972 (diff)
downloadexternal_llvm-791feea10071223886e2fe2bfa0e1f4cb2c0ce74.zip
external_llvm-791feea10071223886e2fe2bfa0e1f4cb2c0ce74.tar.gz
external_llvm-791feea10071223886e2fe2bfa0e1f4cb2c0ce74.tar.bz2
ARM ISB assembly parsing tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135158 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/ARM/arm_instructions.s2
-rw-r--r--test/MC/ARM/basic-arm-instructions.s10
2 files changed, 10 insertions, 2 deletions
diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s
index 8631306..8648029 100644
--- a/test/MC/ARM/arm_instructions.s
+++ b/test/MC/ARM/arm_instructions.s
@@ -139,8 +139,6 @@
@ CHECK: bkpt #10 @ encoding: [0x7a,0x00,0x20,0xe1]
bkpt #10
-@ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5]
- isb
@ CHECK: mrs r8, cpsr @ encoding: [0x00,0x80,0x0f,0xe1]
mrs r8, cpsr
diff --git a/test/MC/ARM/basic-arm-instructions.s b/test/MC/ARM/basic-arm-instructions.s
index 9a58c2f..75ddf12 100644
--- a/test/MC/ARM/basic-arm-instructions.s
+++ b/test/MC/ARM/basic-arm-instructions.s
@@ -578,3 +578,13 @@ _func:
@ CHECK: eor r6, r6, r7, asr r9 @ encoding: [0x57,0x69,0x26,0xe0]
@ CHECK: eor r6, r6, r7, ror r9 @ encoding: [0x77,0x69,0x26,0xe0]
@ CHECK: eor r4, r4, r5, rrx @ encoding: [0x65,0x40,0x24,0xe0]
+
+
+@------------------------------------------------------------------------------
+@ ISB
+@------------------------------------------------------------------------------
+ isb sy
+ isb
+
+@ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5]
+@ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5]