summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/ARM/thumb-diagnostics.s5
-rw-r--r--llvm/test/MC/ARM/thumb2-pldw.s4
2 files changed, 7 insertions, 2 deletions
diff --git a/llvm/test/MC/ARM/thumb-diagnostics.s b/llvm/test/MC/ARM/thumb-diagnostics.s
index 6f822d1c8e8..a194ab4f22e 100644
--- a/llvm/test/MC/ARM/thumb-diagnostics.s
+++ b/llvm/test/MC/ARM/thumb-diagnostics.s
@@ -156,3 +156,8 @@ error: invalid operand for instruction
@ CHECK-ERRORS: yield
@ CHECK-ERRORS: ^
+@------------------------------------------------------------------------------
+@ PLDW required mp-extensions
+@------------------------------------------------------------------------------
+ pldw [r0, #4]
+@ CHECK-ERRORS: error: instruction requires: mp-extensions
diff --git a/llvm/test/MC/ARM/thumb2-pldw.s b/llvm/test/MC/ARM/thumb2-pldw.s
index 7acbd39cbd3..f0eeaf9297a 100644
--- a/llvm/test/MC/ARM/thumb2-pldw.s
+++ b/llvm/test/MC/ARM/thumb2-pldw.s
@@ -3,5 +3,5 @@
@------------------------------------------------------------------------------
@ PLD(literal)
@------------------------------------------------------------------------------
- pldw [pc,#-4095]
-@ CHECK: pldw [pc, #-4095] @ encoding: [0x3f,0xf8,0xff,0xff]
+ pldw [r0, #257]
+@ CHECK: pldw [r0, #257] @ encoding: [0xb0,0xf8,0x01,0xf1]
OpenPOWER on IntegriCloud