diff options
author | Mihai Popa <mihail.popa@gmail.com> | 2013-08-06 16:07:46 +0000 |
---|---|---|
committer | Mihai Popa <mihail.popa@gmail.com> | 2013-08-06 16:07:46 +0000 |
commit | 4f7092176c3d3eaae0ea7af26aec2d77b3e4035f (patch) | |
tree | 72c91b50fa01fcd11a03e29d7e7ca00fa8b651cb /test/MC | |
parent | 4a378b95aa0f24ba461e512608b8aaeaa803996f (diff) | |
download | llvm-4f7092176c3d3eaae0ea7af26aec2d77b3e4035f.tar.gz llvm-4f7092176c3d3eaae0ea7af26aec2d77b3e4035f.tar.bz2 llvm-4f7092176c3d3eaae0ea7af26aec2d77b3e4035f.tar.xz |
This corrects creation of operands for t2PLDW. It also removes the definition of t2PLDWpci,
as pldw does not have a literal variant (i.e. pc relative version)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/thumb-diagnostics.s | 5 | ||||
-rw-r--r-- | test/MC/ARM/thumb2-pldw.s | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/test/MC/ARM/thumb-diagnostics.s b/test/MC/ARM/thumb-diagnostics.s index 6f822d1c8e..a194ab4f22 100644 --- a/test/MC/ARM/thumb-diagnostics.s +++ b/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/test/MC/ARM/thumb2-pldw.s b/test/MC/ARM/thumb2-pldw.s index 7acbd39cbd..f0eeaf9297 100644 --- a/test/MC/ARM/thumb2-pldw.s +++ b/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] |