aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/MC/ARM/basic-thumb2-instructions.s35
1 files changed, 18 insertions, 17 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s
index 63f7f37423..7e78b6c55f 100644
--- a/test/MC/ARM/basic-thumb2-instructions.s
+++ b/test/MC/ARM/basic-thumb2-instructions.s
@@ -477,6 +477,24 @@ _func:
@------------------------------------------------------------------------------
+@ IT
+@------------------------------------------------------------------------------
+@ Test encodings of a few full IT blocks, not just the IT instruction
+
+ iteet eq
+ addeq r0, r1, r2
+ nopne
+ subne r5, r6, r7
+ addeq r1, r2, #4
+
+@ CHECK: iteet eq @ encoding: [0x0d,0xbf]
+@ CHECK: addeq r0, r1, r2 @ encoding: [0x88,0x18]
+@ CHECK: nopne @ encoding: [0x00,0xbf]
+@ CHECK: subne r5, r6, r7 @ encoding: [0xf5,0x1b]
+@ CHECK: addeq r1, r2, #4 @ encoding: [0x11,0x1d]
+
+
+@------------------------------------------------------------------------------
@ LDMIA
@------------------------------------------------------------------------------
ldmia.w r4, {r4, r5, r8, r9}
@@ -1328,23 +1346,6 @@ _func:
@------------------------------------------------------------------------------
-@ IT
-@------------------------------------------------------------------------------
-@ Test encodings of a few full IT blocks, not just the IT instruction
-
- iteet eq
- addeq r0, r1, r2
- nopne
- subne r5, r6, r7
- addeq r1, r2, #4
-
-@ CHECK: iteet eq @ encoding: [0x0d,0xbf]
-@ CHECK: addeq r0, r1, r2 @ encoding: [0x88,0x18]
-@ CHECK: nopne @ encoding: [0x00,0xbf]
-@ CHECK: subne r5, r6, r7 @ encoding: [0xf5,0x1b]
-@ CHECK: addeq r1, r2, #4 @ encoding: [0x11,0x1d]
-
-@------------------------------------------------------------------------------
@ SUB (register)
@------------------------------------------------------------------------------
sub.w r5, r2, r12, rrx