From: Jim Grosbach Date: Mon, 19 Sep 2011 23:06:38 +0000 (+0000) Subject: Thumb2 assembly parsing and encoding for UBFX. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6451cbf79f75fde6319cd4dbcb8a48aecac702f4;p=oota-llvm.git Thumb2 assembly parsing and encoding for UBFX. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140086 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 892cdafaf95..020b13baf39 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -2704,3 +2704,15 @@ _func: @ CHECK: uasx r9, r12, r0 @ encoding: [0xac,0xfa,0x40,0xf9] @ CHECK: it eq @ encoding: [0x08,0xbf] @ CHECK: uasxeq r9, r12, r0 @ encoding: [0xac,0xfa,0x40,0xf9] + + +@------------------------------------------------------------------------------ +@ UBFX +@------------------------------------------------------------------------------ + ubfx r4, r5, #16, #1 + it gt + ubfxgt r4, r5, #16, #16 + +@ CHECK: ubfx r4, r5, #16, #1 @ encoding: [0xc5,0xf3,0x00,0x44] +@ CHECK: it gt @ encoding: [0xc8,0xbf] +@ CHECK: ubfxgt r4, r5, #16, #16 @ encoding: [0xc5,0xf3,0x0f,0x44]