mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
ARM assembly parsing and encoding for BLX (immediate).
Add parsing support for BLX (immediate). Since the register operand version is predicated and the label operand version is not, we have to use some special handling to get the operand list right for matching. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136406 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -358,10 +358,12 @@ Lforward:
|
||||
@------------------------------------------------------------------------------
|
||||
|
||||
bl _bar
|
||||
@ FIXME: blx _bar
|
||||
blx _bar
|
||||
|
||||
@ CHECK: bl _bar @ encoding: [A,A,A,0xeb]
|
||||
@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbranch
|
||||
@ CHECK: blx _bar @ encoding: [A,A,A,0xfa]
|
||||
@ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbranch
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ BLX (register)
|
||||
|
||||
Reference in New Issue
Block a user