From: Jim Grosbach Date: Fri, 2 Sep 2011 23:25:46 +0000 (+0000) Subject: Thumb2 parsing and encoding for BFC. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7413f41d3b45d9fe851943d110a5ef5a54a5e076;p=oota-llvm.git Thumb2 parsing and encoding for BFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139050 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 350fc4e52a0..9643a01c7b8 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 @------------------------------------------------------------------------------