diff options
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 3 | ||||
-rw-r--r-- | test/MC/ARM/thumb2-pldw.s | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 50a505e1d3..2bd9a13338 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -1573,6 +1573,9 @@ _func: @ FIXME: pld _foo @ encoding: [0x9f'A',0xf8'A',A,0xf0'A'] @ fixup A - offset: 0, value: _foo, kind: fixup_t2_ldst_pcrel_12 + pld [pc,#-4095] +@ CHECK: pld [pc, #-4095] @ encoding: [0x1f,0xf8,0xff,0xff] + @------------------------------------------------------------------------------ @ PLD(register) diff --git a/test/MC/ARM/thumb2-pldw.s b/test/MC/ARM/thumb2-pldw.s new file mode 100644 index 0000000000..7acbd39cbd --- /dev/null +++ b/test/MC/ARM/thumb2-pldw.s @@ -0,0 +1,7 @@ +@ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -mattr=+mp -show-encoding < %s | FileCheck %s + +@------------------------------------------------------------------------------ +@ PLD(literal) +@------------------------------------------------------------------------------ + pldw [pc,#-4095] +@ CHECK: pldw [pc, #-4095] @ encoding: [0x3f,0xf8,0xff,0xff] |