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 | 82dd698575896ede90b79b9a1f4f65cfac193886 (patch) | |
tree | 9ee0e241e9d89b4a903d9fec60a5e8dd9d33b6e5 | |
parent | 8082169d7c5e9d2c7559725e30eaea46a59e9f0f (diff) | |
download | bcm5719-llvm-82dd698575896ede90b79b9a1f4f65cfac193886.tar.gz bcm5719-llvm-82dd698575896ede90b79b9a1f4f65cfac193886.zip |
Thumb2 assembly parsing and encoding for RRX.
llvm-svn: 139831
-rw-r--r-- | llvm/test/MC/ARM/basic-thumb2-instructions.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/basic-thumb2-instructions.s b/llvm/test/MC/ARM/basic-thumb2-instructions.s index 114e005c595..d9dc3bba5cf 100644 --- a/llvm/test/MC/ARM/basic-thumb2-instructions.s +++ b/llvm/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 |