diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-15 19:52:43 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-15 19:52:43 +0000 |
commit | aba8015cc375ac7de757d92e55d1aad986de6202 (patch) | |
tree | d8bbeaeee5564dbabfbf8dba6ef5e5eab40d3789 /test | |
parent | 5260be1f2d8a2efe9aea398248736556cab42eeb (diff) | |
download | llvm-aba8015cc375ac7de757d92e55d1aad986de6202.tar.gz llvm-aba8015cc375ac7de757d92e55d1aad986de6202.tar.bz2 llvm-aba8015cc375ac7de757d92e55d1aad986de6202.tar.xz |
Thumb2 assembly parsing and encoding for RRX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 114e005c59..d9dc3bba5c 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -1512,6 +1512,22 @@ _func: @------------------------------------------------------------------------------ +@ RRX +@------------------------------------------------------------------------------ + rrx r1, r2 + rrxs r1, r2 + ite lt + rrxlt r9, r12 + rrxsge r8, r3 + +@ CHECK: rrx r1, r2 @ encoding: [0x4f,0xea,0x32,0x01] +@ CHECK: rrxs r1, r2 @ encoding: [0x5f,0xea,0x32,0x01] +@ CHECK: ite lt @ encoding: [0xb4,0xbf] +@ CHECK: rrxlt r9, r12 @ encoding: [0x4f,0xea,0x3c,0x09] +@ CHECK: rrxsge r8, r3 @ encoding: [0x5f,0xea,0x33,0x08] + + +@------------------------------------------------------------------------------ @ SUB (register) @------------------------------------------------------------------------------ sub.w r5, r2, r12, rrx |