Thumb2 assembly parsing and encoding for NOP.W.
authorJim Grosbach <grosbach@apple.com>
Wed, 14 Sep 2011 21:26:25 +0000 (21:26 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 14 Sep 2011 21:26:25 +0000 (21:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139740 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 98ec7f3643dce63db093d15e03aaa7b03e69ce75..97a59df224a200f26d33e95fbdcb70aa5be2c111 100644 (file)
@@ -1167,6 +1167,13 @@ _func:
 @ CHECK: it    eq                      @ encoding: [0x08,0xbf]
 @ CHECK: mvneq r2, r3                  @ encoding: [0xda,0x43]
 
+@------------------------------------------------------------------------------
+@ NOP
+@------------------------------------------------------------------------------
+        nop.w
+
+@ CHECK: nop.w                          @ encoding: [0xaf,0xf3,0x00,0x80]
+
 
 @------------------------------------------------------------------------------
 @ IT
index 30c99627d22333bbc0576605daeaff0a22c4bed3..f4f48fa7064c6663f4555ea194e46985a9764585 100644 (file)
 @ CHECK: qdsub  r1, r2, r3 @ encoding: [0x83,0xfa,0xb2,0xf1]
         qdsub  r1, r2, r3
 
-@ CHECK: nop.w @ encoding: [0xaf,0xf3,0x00,0x80]
-        nop.w
-
 @ CHECK: yield.w @ encoding: [0xaf,0xf3,0x01,0x80]
         yield.w