Thumb2 assembly parsing and encoding for LDRSBT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139390 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-09-09 19:49:06 +00:00
parent 0811fe13d6
commit 578edfbfa0

View File

@ -780,6 +780,20 @@ _func:
@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_t2_ldst_pcrel_12
@------------------------------------------------------------------------------
@ LDRSBT
@------------------------------------------------------------------------------
ldrsbt r1, [r2]
ldrsbt r1, [r8, #0]
ldrsbt r1, [r8, #3]
ldrsbt r1, [r8, #255]
@ CHECK: ldrsbt r1, [r2] @ encoding: [0x12,0xf9,0x00,0x1e]
@ CHECK: ldrsbt r1, [r8] @ encoding: [0x18,0xf9,0x00,0x1e]
@ CHECK: ldrsbt r1, [r8, #3] @ encoding: [0x18,0xf9,0x03,0x1e]
@ CHECK: ldrsbt r1, [r8, #255] @ encoding: [0x18,0xf9,0xff,0x1e]
@------------------------------------------------------------------------------
@ IT
@------------------------------------------------------------------------------