aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-09-02 23:25:46 +0000
committerJim Grosbach <grosbach@apple.com>2011-09-02 23:25:46 +0000
commit7413f41d3b45d9fe851943d110a5ef5a54a5e076 (patch)
tree2904dc4fb84edf67593136502dc6830fa6009f6a /test
parenta110988b391652e3f4f85cb709a3eeb81c8cdd84 (diff)
downloadexternal_llvm-7413f41d3b45d9fe851943d110a5ef5a54a5e076.zip
external_llvm-7413f41d3b45d9fe851943d110a5ef5a54a5e076.tar.gz
external_llvm-7413f41d3b45d9fe851943d110a5ef5a54a5e076.tar.bz2
Thumb2 parsing and encoding for BFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/basic-thumb2-instructions.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s
index 350fc4e..9643a01 100644
--- a/test/MC/ARM/basic-thumb2-instructions.s
+++ b/test/MC/ARM/basic-thumb2-instructions.s
@@ -192,6 +192,19 @@ _func:
@ fixup A - offset: 0, value: _bar, kind: fixup_t2_uncondbranch
@ CHECK: bmi.w #-183396 @ encoding: [0x13,0xf5,0xce,0xa9]
+
+@------------------------------------------------------------------------------
+@ BFC
+@------------------------------------------------------------------------------
+ bfc r5, #3, #17
+ it lo
+ bfccc r5, #3, #17
+
+@ CHECK: bfc r5, #3, #17 @ encoding: [0x6f,0xf3,0xd3,0x05]
+@ CHECK: it lo @ encoding: [0x38,0xbf]
+@ CHECK: bfclo r5, #3, #17 @ encoding: [0x6f,0xf3,0xd3,0x05]
+
+
@------------------------------------------------------------------------------
@ CBZ/CBNZ
@------------------------------------------------------------------------------