diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-08 01:01:32 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-08 01:01:32 +0000 |
commit | e64fb28da191bc978ab99ea397e6108a15c364f8 (patch) | |
tree | 9e0419f0ad59df62c7456e568a88cc410aead36c /test/MC | |
parent | eeec025cf5a2236ee9527a3312496a6ea42100c6 (diff) | |
download | external_llvm-e64fb28da191bc978ab99ea397e6108a15c364f8.zip external_llvm-e64fb28da191bc978ab99ea397e6108a15c364f8.tar.gz external_llvm-e64fb28da191bc978ab99ea397e6108a15c364f8.tar.bz2 |
Thumb2 assembly parsing and encoding for LDR post-indexed.
More cleanup of the general indexed addressing T2 instructions. Still more to
do, especially for stores.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index c88eb24..e97cc17 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -551,6 +551,9 @@ _func: ldr r2, [r4, #255]! ldr r8, [sp, #4]! ldr lr, [sp, #-4]! + ldr r2, [r4], #255 + ldr r8, [sp], #4 + ldr lr, [sp], #-4 @ CHECK: ldr.w r1, [r8, r1] @ encoding: [0x58,0xf8,0x01,0x10] @ CHECK: ldr.w r4, [r5, r2] @ encoding: [0x55,0xf8,0x02,0x40] @@ -561,6 +564,9 @@ _func: @ CHECK: ldr r2, [r4, #255]! @ encoding: [0x54,0xf8,0xff,0x2f] @ CHECK: ldr r8, [sp, #4]! @ encoding: [0x5d,0xf8,0x04,0x8f] @ CHECK: ldr lr, [sp, #-4]! @ encoding: [0x5d,0xf8,0x04,0xed] +@ CHECK: ldr r2, [r4], #255 @ encoding: [0x54,0xf8,0xff,0x2b] +@ CHECK: ldr r8, [sp], #4 @ encoding: [0x5d,0xf8,0x04,0x8b] +@ CHECK: ldr lr, [sp], #-4 @ encoding: [0x5d,0xf8,0x04,0xe9] @------------------------------------------------------------------------------ |