Thumb assembly parsing and encoding for LDR(register).

llvm-svn: 138056
This commit is contained in:
Jim Grosbach 2011-08-19 18:35:06 +00:00
parent 7b3379be20
commit 106281f329
1 changed files with 8 additions and 0 deletions

View File

@ -202,3 +202,11 @@ _func:
@ CHECK: ldr r1, _foo @ encoding: [A,0x49] @ CHECK: ldr r1, _foo @ encoding: [A,0x49]
@ fixup A - offset: 0, value: _foo, kind: fixup_arm_thumb_cp @ fixup A - offset: 0, value: _foo, kind: fixup_arm_thumb_cp
@------------------------------------------------------------------------------
@ LDR (register)
@------------------------------------------------------------------------------
ldr r1, [r2, r3]
@ CHECK: ldr r1, [r2, r3] @ encoding: [0xd1,0x58]