summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-09-14 21:26:25 +0000
committerJim Grosbach <grosbach@apple.com>2011-09-14 21:26:25 +0000
commit36acc8e984fb6d57a8e1352ac08d5da3b83419cd (patch)
tree5ef4c82cae3f86376acbbec2703c1f278d5200b6 /llvm
parent752d6fd529c9e01cdbb9df8d1220f3392e26215c (diff)
downloadbcm5719-llvm-36acc8e984fb6d57a8e1352ac08d5da3b83419cd.tar.gz
bcm5719-llvm-36acc8e984fb6d57a8e1352ac08d5da3b83419cd.zip
Thumb2 assembly parsing and encoding for NOP.W.
llvm-svn: 139740
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/MC/ARM/basic-thumb2-instructions.s7
-rw-r--r--llvm/test/MC/ARM/thumb2.s3
2 files changed, 7 insertions, 3 deletions
diff --git a/llvm/test/MC/ARM/basic-thumb2-instructions.s b/llvm/test/MC/ARM/basic-thumb2-instructions.s
index 98ec7f3643d..97a59df224a 100644
--- a/llvm/test/MC/ARM/basic-thumb2-instructions.s
+++ b/llvm/test/MC/ARM/basic-thumb2-instructions.s
@@ -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
diff --git a/llvm/test/MC/ARM/thumb2.s b/llvm/test/MC/ARM/thumb2.s
index 30c99627d22..f4f48fa7064 100644
--- a/llvm/test/MC/ARM/thumb2.s
+++ b/llvm/test/MC/ARM/thumb2.s
@@ -226,9 +226,6 @@
@ 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
OpenPOWER on IntegriCloud