diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-16 22:19:38 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-16 22:19:38 +0000 |
commit | e45451eea9cd7fc78227fdb94f215ff22e9d0f75 (patch) | |
tree | fcba4837bb33a125509d88ac241bcf9925efb748 /test | |
parent | 75d74282759293b5f5abeae5b3f9e0cec42ae52f (diff) | |
download | external_llvm-e45451eea9cd7fc78227fdb94f215ff22e9d0f75.zip external_llvm-e45451eea9cd7fc78227fdb94f215ff22e9d0f75.tar.gz external_llvm-e45451eea9cd7fc78227fdb94f215ff22e9d0f75.tar.bz2 |
Thumb2 assembly parsing and encoding for STRD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 24c8529..de0f4f1 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -2267,6 +2267,24 @@ _func: @------------------------------------------------------------------------------ +@ STRD +@------------------------------------------------------------------------------ + strd r3, r5, [r6, #24] + strd r3, r5, [r6, #24]! + strd r3, r5, [r6], #4 + strd r3, r5, [r6], #-8 + strd r3, r5, [r6] + strd r8, r1, [r3, #0] + +@ CHECK: strd r3, r5, [r6, #24] @ encoding: [0xc6,0xe9,0x06,0x35] +@ CHECK: strd r3, r5, [r6, #24]! @ encoding: [0xe6,0xe9,0x06,0x35] +@ CHECK: strd r3, r5, [r6], #4 @ encoding: [0xe6,0xe8,0x01,0x35] +@ CHECK: strd r3, r5, [r6], #-8 @ encoding: [0x66,0xe8,0x02,0x35] +@ CHECK: strd r3, r5, [r6] @ encoding: [0xc6,0xe9,0x00,0x35] +@ CHECK: strd r8, r1, [r3] @ encoding: [0xc3,0xe9,0x00,0x81] + + +@------------------------------------------------------------------------------ @ STRH(immediate) @------------------------------------------------------------------------------ strh r5, [r5, #-4] |