aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commit5c5eca3534b616fbdb8d2c7c56ab2182f4a9ef05 (patch)
tree20cfcae598575530b83e07cbd0a88d8850144e92 /test
parentd32872f9ca446fc48084082fcb88255a55405cc2 (diff)
downloadexternal_llvm-5c5eca3534b616fbdb8d2c7c56ab2182f4a9ef05.zip
external_llvm-5c5eca3534b616fbdb8d2c7c56ab2182f4a9ef05.tar.gz
external_llvm-5c5eca3534b616fbdb8d2c7c56ab2182f4a9ef05.tar.bz2
Thumb2 assembly parsing and encoding for NOP.W.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/basic-thumb2-instructions.s7
-rw-r--r--test/MC/ARM/thumb2.s3
2 files changed, 7 insertions, 3 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s
index 98ec7f3..97a59df 100644
--- a/test/MC/ARM/basic-thumb2-instructions.s
+++ b/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/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s
index 30c9962..f4f48fa 100644
--- a/test/MC/ARM/thumb2.s
+++ b/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