diff options
author | Silviu Baranga <silviu.baranga@arm.com> | 2012-05-11 09:10:54 +0000 |
---|---|---|
committer | Silviu Baranga <silviu.baranga@arm.com> | 2012-05-11 09:10:54 +0000 |
commit | ca3cd419a52c1dedee133d79772ef97f30e5d20b (patch) | |
tree | 4c4b36e645914c8879faea595cf651787328520d /test/MC/ARM | |
parent | 383fd7afd9cd2431fdb0b32130fc8125903a7fa8 (diff) |
Fixed the LLVM ARM v7 assembler and instruction printer for 8-bit immediate offset addressing. The assembler and instruction printer were not properly handeling the #-0 immediate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM')
-rw-r--r-- | test/MC/ARM/arm_instructions.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s index 186954cafa..ce7e036b3b 100644 --- a/test/MC/ARM/arm_instructions.s +++ b/test/MC/ARM/arm_instructions.s @@ -74,3 +74,6 @@ @ CHECK: cpsie none, #0 @ encoding: [0x00,0x00,0x0a,0xf1] cpsie none, #0 +@ CHECK: strh r3, [r2, #-0] @ encoding: [0xb0,0x30,0x42,0xe1] + strh r3, [r2, #-0] + |