From: Jim Grosbach Date: Fri, 2 Sep 2011 23:28:46 +0000 (+0000) Subject: Thumb2 parsing and encoding for BFI. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0b9a3d37c5a6c452b40beede7519be97cad97ef0;p=oota-llvm.git Thumb2 parsing and encoding for BFI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139051 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 9643a01c7b8..f71c686823a 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -205,6 +205,18 @@ _func: @ CHECK: bfclo r5, #3, #17 @ encoding: [0x6f,0xf3,0xd3,0x05] +@------------------------------------------------------------------------------ +@ BFI +@------------------------------------------------------------------------------ + bfi r5, r2, #3, #17 + it ne + bfine r5, r2, #3, #17 + +@ CHECK: bfi r5, r2, #3, #17 @ encoding: [0x62,0xf3,0xd3,0x05] +@ CHECK: it ne @ encoding: [0x18,0xbf] +@ CHECK: bfine r5, r2, #3, #17 @ encoding: [0x62,0xf3,0xd3,0x05] + + @------------------------------------------------------------------------------ @ CBZ/CBNZ @------------------------------------------------------------------------------