mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
t2LDR_PRE etc are loads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74741 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d94f11196
commit
78236f8c8a
@ -546,6 +546,7 @@ def : T2Pat<(extloadi16 (ARMWrapper tconstpool:$addr)),
|
|||||||
(t2LDRHpci tconstpool:$addr)>;
|
(t2LDRHpci tconstpool:$addr)>;
|
||||||
|
|
||||||
// Indexed loads
|
// Indexed loads
|
||||||
|
let mayLoad = 1 in {
|
||||||
def t2LDR_PRE : T2Iidxldst<(outs GPR:$dst, GPR:$base_wb),
|
def t2LDR_PRE : T2Iidxldst<(outs GPR:$dst, GPR:$base_wb),
|
||||||
(ins t2addrmode_imm8:$addr),
|
(ins t2addrmode_imm8:$addr),
|
||||||
AddrModeT2_i8, IndexModePre,
|
AddrModeT2_i8, IndexModePre,
|
||||||
@ -601,6 +602,7 @@ def t2LDRSH_POST : T2Iidxldst<(outs GPR:$dst, GPR:$base_wb),
|
|||||||
AddrModeT2_i8, IndexModePost,
|
AddrModeT2_i8, IndexModePost,
|
||||||
"ldrsh", " $dst, [$base], $offset", "$base = $base_wb",
|
"ldrsh", " $dst, [$base], $offset", "$base = $base_wb",
|
||||||
[]>;
|
[]>;
|
||||||
|
}
|
||||||
|
|
||||||
// Store
|
// Store
|
||||||
defm t2STR : T2I_st<"str", BinOpFrag<(store node:$LHS, node:$RHS)>>;
|
defm t2STR : T2I_st<"str", BinOpFrag<(store node:$LHS, node:$RHS)>>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user