summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitbe31448d999db7ca55da3124f33a1a7ee82d1508 (patch)
tree00aa23d2785de316e4950c117340448154a7b509 /llvm
parenta0d34d3b5e062164abe2f7b4923c0d6fe2dd43cc (diff)
downloadbcm5719-llvm-be31448d999db7ca55da3124f33a1a7ee82d1508.tar.gz
bcm5719-llvm-be31448d999db7ca55da3124f33a1a7ee82d1508.zip
Thumb2 parsing and encoding for BFC.
llvm-svn: 139050
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/MC/ARM/basic-thumb2-instructions.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/basic-thumb2-instructions.s b/llvm/test/MC/ARM/basic-thumb2-instructions.s
index 350fc4e52a0..9643a01c7b8 100644
--- a/llvm/test/MC/ARM/basic-thumb2-instructions.s
+++ b/llvm/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
@------------------------------------------------------------------------------
OpenPOWER on IntegriCloud