Skip to content

Commit

Permalink
Thumb assembly parsing and encoding for LDR(register).
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138056 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Jim Grosbach committed Aug 19, 2011
1 parent 40827c4 commit 09f6e0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/MC/ARM/basic-thumb-instructions.s
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,11 @@ _func:

@ CHECK: ldr r1, _foo @ encoding: [A,0x49]
@ 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]

0 comments on commit 09f6e0d

Please sign in to comment.