mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-01 15:40:46 +00:00
8ba1474181
When the operand is a plain immediate rather than a label, print it as [pc, #imm] like we do for the Thumb2 wide encoding variant. rdar://12154503 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166991 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
241 B
Plaintext
8 lines
241 B
Plaintext
# RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -mdis < %s | FileCheck %s
|
|
# CHECK: ldr <reg:r4>, <mem:[pc, <imm:#32>]>
|
|
0x08 0x4c
|
|
# CHECK: push {<reg:r1>, <reg:r2>, <reg:r7>}
|
|
0x86 0xb4
|
|
# CHECK: sub <reg:sp>, <imm:#132>
|
|
0xa1 0xb0
|