diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-16 22:27:12 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-16 22:27:12 +0000 |
commit | 47313df81c096005dbbe8dbe729375f7d0bb3e15 (patch) | |
tree | 8fe04a5370dad3426699a27d90131ca4c2e8792e | |
parent | 18ceae2a705cd4da38a6f67bf0bb9d8615a8b254 (diff) | |
download | external_llvm-47313df81c096005dbbe8dbe729375f7d0bb3e15.zip external_llvm-47313df81c096005dbbe8dbe729375f7d0bb3e15.tar.gz external_llvm-47313df81c096005dbbe8dbe729375f7d0bb3e15.tar.bz2 |
Thumb2 assembly parsing and encoding for STRT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139963 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index a976c7f..3d86850 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -2377,6 +2377,20 @@ _func: @------------------------------------------------------------------------------ +@ STRT +@------------------------------------------------------------------------------ + strt r1, [r2] + strt r1, [r8, #0] + strt r1, [r8, #3] + strt r1, [r8, #255] + +@ CHECK: strt r1, [r2] @ encoding: [0x42,0xf8,0x00,0x1e] +@ CHECK: strt r1, [r8] @ encoding: [0x48,0xf8,0x00,0x1e] +@ CHECK: strt r1, [r8, #3] @ encoding: [0x48,0xf8,0x03,0x1e] +@ CHECK: strt r1, [r8, #255] @ encoding: [0x48,0xf8,0xff,0x1e] + + +@------------------------------------------------------------------------------ @ SUB (register) @------------------------------------------------------------------------------ sub.w r5, r2, r12, rrx |