From 0b9a3d37c5a6c452b40beede7519be97cad97ef0 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 2 Sep 2011 23:28:46 +0000 Subject: [PATCH] Thumb2 parsing and encoding for BFI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139051 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/basic-thumb2-instructions.s | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 @------------------------------------------------------------------------------