aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-05 23:28:00 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-05 23:28:00 +0000
commit2c868d1eef1e52a2b3211050006344e00c461ac3 (patch)
tree16ac935d7c2ec9fc0a5a80d4367d3c317fa69a46 /test/MC
parente4dc1966baf6b2b5b27c50dd0321852666788588 (diff)
downloadexternal_llvm-2c868d1eef1e52a2b3211050006344e00c461ac3.zip
external_llvm-2c868d1eef1e52a2b3211050006344e00c461ac3.tar.gz
external_llvm-2c868d1eef1e52a2b3211050006344e00c461ac3.tar.bz2
Fix a typo in the handling of PKHTB opcode, plus add sanity check for illegal register
encodings for DisassembleArithMiscFrm(). rdar://problem/9238659 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Disassembler/ARM/arm-tests.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/MC/Disassembler/ARM/arm-tests.txt b/test/MC/Disassembler/ARM/arm-tests.txt
index 084fc8b..3dabb7a 100644
--- a/test/MC/Disassembler/ARM/arm-tests.txt
+++ b/test/MC/Disassembler/ARM/arm-tests.txt
@@ -76,9 +76,12 @@
# CHECK: pkhbt r8, r9, r10, lsl #4
0x1a 0x82 0x89 0xe6
-# CHECK-NOT: pkhbtls pc, r11, r11, lsl #0
-# CHECK: pkhbtls pc, r11, r11
-0x1b 0xf0 0x8b 0x96
+# CHECK-NOT: pkhbtls r10, r11, r11, lsl #0
+# CHECK: pkhbtls r10, r11, r11
+0x1b 0xa0 0x8b 0x96
+
+# CHECK: pkhtbmi lr, r1, r6, asr #21
+0xd6 0xea 0x81 0x46
# CHECK: pop {r0, r2, r4, r6, r8, r10}
0x55 0x05 0xbd 0xe8