diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-22 19:12:43 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-22 19:12:43 +0000 |
commit | 597fa65373b824c840212cf238a73ae13dc35494 (patch) | |
tree | 9e88dcdb8cb5f0176b5b6f7231776f70374f9f4e /test/MC | |
parent | e7cf062537e898f830565db5dbf99ae9c928399e (diff) | |
download | external_llvm-597fa65373b824c840212cf238a73ae13dc35494.zip external_llvm-597fa65373b824c840212cf238a73ae13dc35494.tar.gz external_llvm-597fa65373b824c840212cf238a73ae13dc35494.tar.bz2 |
Disassembly of A8.6.59 LDR (literal) Encoding T1 (16-bit thumb instruction) should
print out ldr, not ldr.n.
rdar://problem/9267772
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/ARM/thumb-printf.txt | 6 | ||||
-rw-r--r-- | test/MC/Disassembler/ARM/thumb-tests.txt | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/test/MC/Disassembler/ARM/thumb-printf.txt b/test/MC/Disassembler/ARM/thumb-printf.txt index 09f54ab..6c2c500 100644 --- a/test/MC/Disassembler/ARM/thumb-printf.txt +++ b/test/MC/Disassembler/ARM/thumb-printf.txt @@ -7,17 +7,17 @@ # CHECK-NEXT: add r3, sp, #20 # CHECK-NEXT: ldr r5, [r3], #4 # CHECK-NEXT: str r3, [sp] -# CHECK-NEXT: ldr.n r3, #52 +# CHECK-NEXT: ldr r3, #52 # CHECK-NEXT: add r3, pc # CHECK-NEXT: ldr r0, [r3] # CHECK-NEXT: ldr r4, [r0] -# CHECK-NEXT: ldr.n r0, #48 +# CHECK-NEXT: ldr r0, #48 # CHECK-NEXT: add r0, pc # CHECK-NEXT: ldr r0, [r0] # CHECK-NEXT: ldr r0, [r0] # CHECK-NEXT: blx #191548 # CHECK-NEXT: cbnz r0, #6 -# CHECK-NEXT: ldr.n r1, #40 +# CHECK-NEXT: ldr r1, #40 # CHECK-NEXT: add r1, pc # CHECK-NEXT: ldr r1, [r1] # CHECK-NEXT: b #0 diff --git a/test/MC/Disassembler/ARM/thumb-tests.txt b/test/MC/Disassembler/ARM/thumb-tests.txt index 39030a8..2cbb33c 100644 --- a/test/MC/Disassembler/ARM/thumb-tests.txt +++ b/test/MC/Disassembler/ARM/thumb-tests.txt @@ -30,6 +30,9 @@ # CHECK: ldmia r0!, {r1} 0x02 0xc8 +# CHECK: ldr r5, #432 +0x6c 0x4d + # CHECK: str r0, [r3] 0x18 0x60 |