llvm-6502/test/MC/Disassembler/ARM/addrmode2-reencoding.txt
Saleem Abdulrasool 793e2aaa73 ARM: fix regression caused by r198914
The disassembler would no longer be able to disambiguage between the two
variants (explicit immediate #0 vs implicit, omitted #0) for the ldrt, strt,
ldrbt, strbt mnemonics as both versions indicated the disassembler routine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198944 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-10 16:22:47 +00:00

13 lines
400 B
Plaintext

# RUN: llvm-mc -triple armv7 -show-encoding -disassemble < %s | FileCheck %s
0x00 0x10 0xb0 0xe4
0x00 0x10 0xf0 0xe4
0x00 0x10 0xa0 0xe4
0x00 0x10 0xe0 0xe4
# CHECK: ldrt r1, [r0] @ encoding: [0x00,0x10,0xb0,0xe4]
# CHECK: ldrbt r1, [r0] @ encoding: [0x00,0x10,0xf0,0xe4]
# CHECK: strt r1, [r0] @ encoding: [0x00,0x10,0xa0,0xe4]
# CHECK: strbt r1, [r0] @ encoding: [0x00,0x10,0xe0,0xe4]