summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/ARM
diff options
context:
space:
mode:
authorAmaury de la Vieuville <amaury.dlv@gmail.com>2013-06-24 09:11:53 +0000
committerAmaury de la Vieuville <amaury.dlv@gmail.com>2013-06-24 09:11:53 +0000
commit4ee72398a15cd7b8e217bb3d34a4e9e0e72caca1 (patch)
treebd75f19bcaafd51f4a4e9b45d8c1d9c85226ffa3 /test/MC/Disassembler/ARM
parentff08da15cf3d0412ee9cc325fc5a720bcad178f2 (diff)
downloadllvm-4ee72398a15cd7b8e217bb3d34a4e9e0e72caca1.tar.gz
llvm-4ee72398a15cd7b8e217bb3d34a4e9e0e72caca1.tar.bz2
llvm-4ee72398a15cd7b8e217bb3d34a4e9e0e72caca1.tar.xz
ARM: fix thumb1 nop decoding
In thumb1, NOP is a pseudo-instruction equivalent to mov r8, r8. However the disassembler should not use this alias. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler/ARM')
-rw-r--r--test/MC/Disassembler/ARM/thumb1.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/MC/Disassembler/ARM/thumb1.txt b/test/MC/Disassembler/ARM/thumb1.txt
index de9596aab7..7362d9b9b2 100644
--- a/test/MC/Disassembler/ARM/thumb1.txt
+++ b/test/MC/Disassembler/ARM/thumb1.txt
@@ -279,9 +279,11 @@
#------------------------------------------------------------------------------
# CHECK: mov r3, r4
# CHECK: movs r1, r3
+# CHECK: mov r8, r8
0x23 0x46
0x19 0x00
+0xc0 0x46
#------------------------------------------------------------------------------
@@ -310,14 +312,6 @@
#------------------------------------------------------------------------------
-# NOP
-#------------------------------------------------------------------------------
-# CHECK: nop
-
-0xc0 0x46
-
-
-#------------------------------------------------------------------------------
# ORR
#------------------------------------------------------------------------------
# CHECK: orrs r3, r4