mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-03 18:32:50 +00:00
Add tests for Thumb2 LDR(immediate) from r139254.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139255 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a8307dd1c9
commit
ed1cb6defa
@ -514,6 +514,22 @@ _func:
|
||||
@ CHECK: ldmdb r5!, {r3, r8} @ encoding: [0x35,0xe9,0x08,0x01]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LDR(immediate)
|
||||
@------------------------------------------------------------------------------
|
||||
ldr r5, [r5, #-4]
|
||||
ldr r5, [r6, #32]
|
||||
ldr r5, [r6, #33]
|
||||
ldr r5, [r6, #257]
|
||||
ldr.w pc, [r7, #257]
|
||||
|
||||
@ CHECK: ldr r5, [r5, #-4] @ encoding: [0x55,0xf8,0x04,0x5c]
|
||||
@ CHECK: ldr r5, [r6, #32] @ encoding: [0x35,0x6a]
|
||||
@ CHECK: ldr.w r5, [r6, #33] @ encoding: [0xd6,0xf8,0x21,0x50]
|
||||
@ CHECK: ldr.w r5, [r6, #257] @ encoding: [0xd6,0xf8,0x01,0x51]
|
||||
@ CHECK: ldr.w pc, [r7, #257] @ encoding: [0xd7,0xf8,0x01,0xf1]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ IT
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user