diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-03-18 00:38:03 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-03-18 00:38:03 +0000 |
commit | 5e5a40867a1adce1178ed226b77b0a1b0cb6a5c0 (patch) | |
tree | f4b3a72301ef01edd556c6d8c06ad91ec8991c86 /test/MC | |
parent | f3e6774880762674dc845b25dbf01ad212f21d03 (diff) | |
download | external_llvm-5e5a40867a1adce1178ed226b77b0a1b0cb6a5c0.zip external_llvm-5e5a40867a1adce1178ed226b77b0a1b0cb6a5c0.tar.gz external_llvm-5e5a40867a1adce1178ed226b77b0a1b0cb6a5c0.tar.bz2 |
The disassembler for Thumb was wrongly adding 4 to the computed imm32 offset.
Remove the offending logic and update the test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/ARM/thumb-tests.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/MC/Disassembler/ARM/thumb-tests.txt b/test/MC/Disassembler/ARM/thumb-tests.txt index 26a6af8..9036b56 100644 --- a/test/MC/Disassembler/ARM/thumb-tests.txt +++ b/test/MC/Disassembler/ARM/thumb-tests.txt @@ -6,10 +6,10 @@ # CHECK: adcs r0, r0, #1 0x50 0xf1 0x01 0x00 -# CHECK: b #34 +# CHECK: b #30 0x0f 0xe0 -# CHECK: b.w #-12 +# CHECK: b.w #-16 0xff 0xf7 0xf8 0xaf # CHECK: bfi r2, r10, #0, #1 @@ -128,5 +128,5 @@ # CHECK: msr cpsr_fc, r0 0x80 0xf3 0x00 0x89 -# CHECK: blx #0 +# CHECK: blx #-4 0xff 0xf7 0xfe 0xef |