diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-11-10 16:44:55 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-11-10 16:44:55 +0000 |
commit | 71810ab7c0ecd6927dde1eee0c73169642f3764d (patch) | |
tree | b4e35812e5c5a75d27c73f3c693ca3171e5fe098 /test/MC | |
parent | 977665c24a4f2c0d05774deef607b6a20bc265f2 (diff) | |
download | external_llvm-71810ab7c0ecd6927dde1eee0c73169642f3764d.zip external_llvm-71810ab7c0ecd6927dde1eee0c73169642f3764d.tar.gz external_llvm-71810ab7c0ecd6927dde1eee0c73169642f3764d.tar.bz2 |
ARM assembly parsing for ASR(immediate).
Start of rdar://9704684
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/basic-arm-instructions.s | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/MC/ARM/basic-arm-instructions.s b/test/MC/ARM/basic-arm-instructions.s index 55d9f02..f2f6a94 100644 --- a/test/MC/ARM/basic-arm-instructions.s +++ b/test/MC/ARM/basic-arm-instructions.s @@ -257,8 +257,15 @@ Lforward: @ CHECK: and r10, r10, r1, rrx @ encoding: [0x61,0xa0,0x0a,0xe0] @------------------------------------------------------------------------------ -@ FIXME: ASR +@ ASR @------------------------------------------------------------------------------ + asr r2, r4, #32 + asr r2, r4, #2 + +@ CHECK: asr r2, r4, #32 @ encoding: [0x44,0x20,0xa0,0xe1] +@ CHECK: asr r2, r4, #2 @ encoding: [0x44,0x21,0xa0,0xe1] + + @------------------------------------------------------------------------------ @ B @------------------------------------------------------------------------------ |