From: Jim Grosbach Date: Fri, 16 Sep 2011 22:15:51 +0000 (+0000) Subject: Thumb2 assembly parsing and encoding for STRBT. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e041af7e0e0b6b59457c3218e6489412793a869c;p=oota-llvm.git Thumb2 assembly parsing and encoding for STRBT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139957 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 52c71b00518..e3c41080d16 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -2252,6 +2252,20 @@ _func: @ CHECK: strb.w r7, [sp, r2] @ encoding: [0x0d,0xf8,0x02,0x70] +@------------------------------------------------------------------------------ +@ STRBT +@------------------------------------------------------------------------------ + strbt r1, [r2] + strbt r1, [r8, #0] + strbt r1, [r8, #3] + strbt r1, [r8, #255] + +@ CHECK: strbt r1, [r2] @ encoding: [0x02,0xf8,0x00,0x1e] +@ CHECK: strbt r1, [r8] @ encoding: [0x08,0xf8,0x00,0x1e] +@ CHECK: strbt r1, [r8, #3] @ encoding: [0x08,0xf8,0x03,0x1e] +@ CHECK: strbt r1, [r8, #255] @ encoding: [0x08,0xf8,0xff,0x1e] + + @------------------------------------------------------------------------------ @ STRH(immediate) @------------------------------------------------------------------------------