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 | 45715a7b9deb8b08e9ef78004bc58fc525d473b4 (patch) | |
| tree | 42738885c2fd9191f3b9cdde0fc25c401ca0ef40 | |
| parent | 0876856aa0acdadbe1384d67a09b984e8a52cb88 (diff) | |
| download | bcm5719-llvm-45715a7b9deb8b08e9ef78004bc58fc525d473b4.tar.gz bcm5719-llvm-45715a7b9deb8b08e9ef78004bc58fc525d473b4.zip | |
Thumb2 assembly parsing and encoding for STRT.
llvm-svn: 139963
| -rw-r--r-- | llvm/test/MC/ARM/basic-thumb2-instructions.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/basic-thumb2-instructions.s b/llvm/test/MC/ARM/basic-thumb2-instructions.s index a976c7fa3e0..3d86850ced8 100644 --- a/llvm/test/MC/ARM/basic-thumb2-instructions.s +++ b/llvm/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 |

