diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-08-17 17:23:19 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-08-17 17:23:19 +0000 |
commit | f955f290c949ff0df7d23cec055efcc4ffeb35d1 (patch) | |
tree | 9171bcf8b787c35d4108993dac1808996f673bf8 /test/MC | |
parent | 087fbeb7d14743d0904a94ef3c73cd5dcbc50c96 (diff) | |
download | external_llvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.zip external_llvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.tar.gz external_llvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.tar.bz2 |
Change ARM PKHTB and PKHBT instructions to use a shift_imm operand to avoid
printing "lsl #0". This fixes the remaining parts of pr7792. Make
corresponding changes for encoding/decoding these instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/arm-tests.txt | 4 | ||||
-rw-r--r-- | test/MC/Disassembler/thumb-tests.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/Disassembler/arm-tests.txt b/test/MC/Disassembler/arm-tests.txt index cca4f32..0b4c297 100644 --- a/test/MC/Disassembler/arm-tests.txt +++ b/test/MC/Disassembler/arm-tests.txt @@ -61,6 +61,10 @@ # 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: pop {r0, r2, r4, r6, r8, r10} 0x55 0x05 0xbd 0xe8 diff --git a/test/MC/Disassembler/thumb-tests.txt b/test/MC/Disassembler/thumb-tests.txt index 4c690fb..06d12fe 100644 --- a/test/MC/Disassembler/thumb-tests.txt +++ b/test/MC/Disassembler/thumb-tests.txt @@ -42,6 +42,10 @@ # CHECK: pkhtb r2, r4, r6, asr #16 0xc4 0xea 0x26 0x42 +# CHECK-NOT: pkhbt r2, r4, r6, lsl #0 +# CHECK: pkhbt r2, r4, r6 +0xc4 0xea 0x06 0x02 + # CHECK: pop {r2, r4, r6, r8, r10, r12} 0xbd 0xe8 0x54 0x15 |