aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-11-18 21:15:19 +0000
committerOwen Anderson <resistor@mac.com>2010-11-18 21:15:19 +0000
commit612fb5b9a6472f8e1cea8a4f771238840f4eaa1c (patch)
tree69c40cd115320459bd84f52e6765631897e908ed /test/MC/ARM
parent821752e2e601b2e4c0bb83cb341892c853f16d0a (diff)
downloadexternal_llvm-612fb5b9a6472f8e1cea8a4f771238840f4eaa1c.zip
external_llvm-612fb5b9a6472f8e1cea8a4f771238840f4eaa1c.tar.gz
external_llvm-612fb5b9a6472f8e1cea8a4f771238840f4eaa1c.tar.bz2
More Thumb2 encodings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM')
-rw-r--r--test/MC/ARM/thumb2.s24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s
index 43006eb..886a899 100644
--- a/test/MC/ARM/thumb2.s
+++ b/test/MC/ARM/thumb2.s
@@ -71,3 +71,27 @@
@ CHECK: smlabt r0, r1, r2, r0 @ encoding: [0xc1,0x02,0x00,0xe1]
smlabt r0, r1, r2, r0
+
+@ CHECK: clz r0, r0 @ encoding: [0x10,0x0f,0x6f,0xe1]
+ clz r0, r0
+@ CHECK: rev r0, r0 @ encoding: [0x30,0x0f,0xbf,0xe6]
+ rev r0, r0
+@ CHECK: revsh r0, r0 @ encoding: [0xb0,0x0f,0xff,0xe6]
+ revsh r0, r0
+
+@ CHECK: pkhbt r0, r0, r1, lsl #16 @ encoding: [0x11,0x08,0x80,0xe6]
+ pkhbt r0, r0, r1, lsl #16
+@ CHECK: pkhbt r0, r0, r1, lsl #12 @ encoding: [0x11,0x06,0x80,0xe6]
+ pkhbt r0, r0, r1, lsl #16
+@ CHECK: pkhbt r0, r0, r1, lsl #18 @ encoding: [0x11,0x09,0x80,0xe6]
+ pkhbt r0, r0, r1, lsl #18
+@ CHECK: pkhbt r0, r0, r1 @ encoding: [0x11,0x00,0x80,0xe6]
+ pkhbt r0, r0, r1
+@ CHECK: pkhtb r0, r0, r1, asr #16 @ encoding: [0x51,0x08,0x80,0xe6]
+ pkhtb r0, r0, r1, asr #16
+@ CHECK: pkhtb r0, r0, r1, asr #12 @ encoding: [0x51,0x06,0x80,0xe6]
+ pkhtb r0, r0, r1, asr #12
+@ CHECK: pkhtb r0, r0, r1, asr #18 @ encoding: [0x51,0x09,0x80,0xe6]
+ pkhtb r0, r0, r1, asr #18
+@ CHECK: pkhtb r0, r0, r1, asr #22 @ encoding: [0x51,0x0b,0x80,0xe6]
+ pkhtb r0, r0, r1, asr #22