diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-19 19:17:58 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-19 19:17:58 +0000 |
commit | 05b01567349dc6c98f9e68c1d4a639aca7ad5ac4 (patch) | |
tree | bc80a813c257e0ba241fde8dccd2021692554501 /test/MC/ARM/basic-thumb-instructions.s | |
parent | 38466309d5c8ce408f05567fa47aeaa3b5826080 (diff) |
Thumb assembly parsing and encoding for LDRSB and LDRSH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/basic-thumb-instructions.s')
-rw-r--r-- | test/MC/ARM/basic-thumb-instructions.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb-instructions.s b/test/MC/ARM/basic-thumb-instructions.s index 591c6c6dd0b..50554326ca8 100644 --- a/test/MC/ARM/basic-thumb-instructions.s +++ b/test/MC/ARM/basic-thumb-instructions.s @@ -250,3 +250,13 @@ _func: ldrh r6, [r2, r6] @ CHECK: ldrh r6, [r2, r6] @ encoding: [0x96,0x5b] + + +@------------------------------------------------------------------------------ +@ LDRSB/LDRSH +@------------------------------------------------------------------------------ + ldrsb r6, [r2, r6] + ldrsh r3, [r7, r1] + +@ CHECK: ldrsb r6, [r2, r6] @ encoding: [0x96,0x57] +@ CHECK: ldrsh r3, [r7, r1] @ encoding: [0x7b,0x5e] |