Re-order test.
authorJim Grosbach <grosbach@apple.com>
Thu, 15 Sep 2011 16:04:13 +0000 (16:04 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 15 Sep 2011 16:04:13 +0000 (16:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139795 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ARM/basic-thumb2-instructions.s

index 63f7f37423e68ebbf3364214a1706a61753a2a2a..7e78b6c55fa3febe69882e60e39a1c10a48dade0 100644 (file)
@@ -476,6 +476,24 @@ _func:
 @ CHECK: isb   sy                      @ encoding: [0xbf,0xf3,0x6f,0x8f]
 
 
+@------------------------------------------------------------------------------
+@ 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
 @------------------------------------------------------------------------------
@@ -1327,23 +1345,6 @@ _func:
 @ CHECK: pli   [sp, r2]                @ encoding: [0x1d,0xf9,0x02,0xf0]
 
 
-@------------------------------------------------------------------------------
-@ 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)
 @------------------------------------------------------------------------------