diff options
author | Owen Anderson <resistor@mac.com> | 2011-09-12 20:36:51 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-09-12 20:36:51 +0000 |
commit | fd92d2e106acfbf13ed29b5d15f3a690cd8699b2 (patch) | |
tree | 2c224cc9d0fe1eaaa21685fe85723cbae0127562 /test/MC | |
parent | 26e5285f9fc63c83222b80984c590d9676a18e4f (diff) | |
download | external_llvm-fd92d2e106acfbf13ed29b5d15f3a690cd8699b2.zip external_llvm-fd92d2e106acfbf13ed29b5d15f3a690cd8699b2.tar.gz external_llvm-fd92d2e106acfbf13ed29b5d15f3a690cd8699b2.tar.bz2 |
Fix encoding of PC-relative LDRSHW with an immediate offset.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 8a4f6fc..d7df777 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -850,10 +850,11 @@ _func: @ LDRSH(literal) @------------------------------------------------------------------------------ ldrsh r5, _bar + ldrsh.w r4, #1435 @ CHECK: ldrsh.w r5, _bar @ encoding: [0xbf'A',0xf9'A',A,0x50'A'] @ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_t2_ldst_pcrel_12 - +@ CHECK: ldrsh.w r4, #1435 @ encoding: [0x3f,0xf9,0x9b,0x45] @------------------------------------------------------------------------------ @ LDRSHT |