summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-06 01:18:32 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-06 01:18:32 +0000
commit6a1220eeca1f3511bcf6ffed43a9ae77624eb8a8 (patch)
tree9839f920f61f9dfe93fec0abc887057896942507 /test/MC
parent3bfe57e123d7d0c79964a647bb4b06d18a61c85f (diff)
downloadllvm-6a1220eeca1f3511bcf6ffed43a9ae77624eb8a8.tar.gz
llvm-6a1220eeca1f3511bcf6ffed43a9ae77624eb8a8.tar.bz2
llvm-6a1220eeca1f3511bcf6ffed43a9ae77624eb8a8.tar.xz
Add a missing opcode (SMLSLDX) to BadRegsMulFrm() function.
Add more complete sanity check for LdStFrm instructions where if IBit (Inst{25}) is 1, Inst{4} should be 0. Otherwise, we should reject the insn as invalid. rdar://problem/9239347 rdar://problem/9239467 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Disassembler/ARM/arm-tests.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/MC/Disassembler/ARM/arm-tests.txt b/test/MC/Disassembler/ARM/arm-tests.txt
index 3dabb7a808..e235d51896 100644
--- a/test/MC/Disassembler/ARM/arm-tests.txt
+++ b/test/MC/Disassembler/ARM/arm-tests.txt
@@ -198,7 +198,7 @@
0xa5 0xba 0xd2 0xed
# CHECK: strtvc r5, [r3], r0, lsr #20
-0x30 0x5a 0xa3 0x76
+0x20 0x5a 0xa3 0x76
# CHECK: stmiblo sp, {r0, r4, r8, r11, r12, pc}
0x11 0x99 0x8d 0x39
@@ -242,3 +242,6 @@
# CHECK: mrchs p2, #3, r11, c13, c6, #6
0xd6 0xb2 0x7d 0x2e
+
+# CHECK: smlsldx r4, r12, r11, r4
+0x7b 0x44 0x4c 0xe7