aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-29 17:39:27 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-29 17:39:27 +0000
commit71d3d67508176091575714dddf008b77db4089c9 (patch)
treea699c40cc08c9efea90d6219d74db1dfc84d4a65
parent96e24fa8929974a28b9c3adb023b006264cf7f36 (diff)
ARM update tests for CPS instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136472 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/MC/ARM/arm_instructions.s9
-rw-r--r--test/MC/ARM/basic-arm-instructions.s13
2 files changed, 13 insertions, 9 deletions
diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s
index b8f16ebb16..5bc4ba4d99 100644
--- a/test/MC/ARM/arm_instructions.s
+++ b/test/MC/ARM/arm_instructions.s
@@ -65,15 +65,6 @@
@ CHECK: cdp2 p7, #1, c1, c1, c1, #4 @ encoding: [0x81,0x17,0x11,0xfe]
cdp2 p7, #1, c1, c1, c1, #4
-@ CHECK: cpsie aif @ encoding: [0xc0,0x01,0x08,0xf1]
- cpsie aif
-
-@ CHECK: cps #15 @ encoding: [0x0f,0x00,0x02,0xf1]
- cps #15
-
-@ CHECK: cpsie if, #10 @ encoding: [0xca,0x00,0x0a,0xf1]
- cpsie if, #10
-
@ CHECK: add r1, r2, r3, lsl r4 @ encoding: [0x13,0x14,0x82,0xe0]
add r1, r2, r3, lsl r4
diff --git a/test/MC/ARM/basic-arm-instructions.s b/test/MC/ARM/basic-arm-instructions.s
index 09a9cad5e8..872341ffe9 100644
--- a/test/MC/ARM/basic-arm-instructions.s
+++ b/test/MC/ARM/basic-arm-instructions.s
@@ -480,6 +480,19 @@ Lforward:
@ CHECK: cmp r7, r8, ror r2 @ encoding: [0x78,0x02,0x57,0xe1]
@ CHECK: cmp r1, r6, rrx @ encoding: [0x66,0x00,0x51,0xe1]
+
+@------------------------------------------------------------------------------
+@ CPS
+@------------------------------------------------------------------------------
+ cpsie aif
+ cps #15
+ cpsid if, #10
+
+@ CHECK: cpsie aif @ encoding: [0xc0,0x01,0x08,0xf1]
+@ CHECK: cps #15 @ encoding: [0x0f,0x00,0x02,0xf1]
+@ CHECK: cpsid if, #10 @ encoding: [0xca,0x00,0x0e,0xf1]
+
+
@------------------------------------------------------------------------------
@ DBG
@------------------------------------------------------------------------------