diff options
| author | Jim Grosbach <grosbach@apple.com> | 2011-08-11 20:04:56 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2011-08-11 20:04:56 +0000 |
| commit | 2a50260f2f68677c540193b7117db524b61c6126 (patch) | |
| tree | 5bb5dc175e1d970918643afd24c593b723314c1b /llvm/test/MC/ARM/arm-memory-instructions.s | |
| parent | d0767f37c10212dfba029b56e8586c53e7affe5b (diff) | |
| download | bcm5719-llvm-2a50260f2f68677c540193b7117db524b61c6126.tar.gz bcm5719-llvm-2a50260f2f68677c540193b7117db524b61c6126.zip | |
ARM STRBT assembly parsing and encoding.
llvm-svn: 137337
Diffstat (limited to 'llvm/test/MC/ARM/arm-memory-instructions.s')
| -rw-r--r-- | llvm/test/MC/ARM/arm-memory-instructions.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/arm-memory-instructions.s b/llvm/test/MC/ARM/arm-memory-instructions.s index fda6031bea4..8af12063e02 100644 --- a/llvm/test/MC/ARM/arm-memory-instructions.s +++ b/llvm/test/MC/ARM/arm-memory-instructions.s @@ -375,3 +375,17 @@ _func: @ CHECK: strb r7, [r12, -r3, lsl #5] @ encoding: [0x83,0x72,0x4c,0xe7] @ CHECK: strb sp, [r7], r2, asr #12 @ encoding: [0x42,0xd6,0xc7,0xe6] + +@------------------------------------------------------------------------------ +@ STRBT +@------------------------------------------------------------------------------ +@ FIXME: Optional offset operand. + strbt r6, [r2], #12 + strbt r5, [r6], #-13 + strbt r4, [r9], r5 + strbt r3, [r8], -r2, lsl #3 + +@ CHECK: strbt r6, [r2], #12 @ encoding: [0x0c,0x60,0xe2,0xe4] +@ CHECK: strbt r5, [r6], #-13 @ encoding: [0x0d,0x50,0x66,0xe4] +@ CHECK: strbt r4, [r9], r5 @ encoding: [0x05,0x40,0xe9,0xe6] +@ CHECK: strbt r3, [r8], -r2, lsl #3 @ encoding: [0x82,0x31,0x68,0xe6] |

