mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
If target ABI is N64, LEA should be daddiu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df09270ae8
commit
9dbeb0284d
@ -203,7 +203,7 @@ def DCLO : CountLeading1<0x25, "dclo", CPU64Regs>;
|
||||
def DSBH : SubwordSwap<0x24, 0x2, "dsbh", CPU64Regs>;
|
||||
def DSHD : SubwordSwap<0x24, 0x5, "dshd", CPU64Regs>;
|
||||
|
||||
def LEA_ADDiu64 : EffectiveAddress<"addiu\t$rt, $addr", CPU64Regs, mem_ea_64>;
|
||||
def LEA_ADDiu64 : EffectiveAddress<"daddiu\t$rt, $addr", CPU64Regs, mem_ea_64>;
|
||||
|
||||
let Uses = [SP_64] in
|
||||
def DynAlloc64 : EffectiveAddress<"daddiu\t$rt, $addr", CPU64Regs, mem_ea_64>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user