mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
ARM: style changes to LDRD, STRD definition
Fix indentation, name registers similar to ARM ARM. No functionality change! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198563 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
497417520c
commit
632c1e5eb6
@ -2274,11 +2274,10 @@ def LDRSB : AI3ld<0b1101, 1, (outs GPR:$Rt), (ins addrmode3:$addr), LdMiscFrm,
|
||||
[(set GPR:$Rt, (sextloadi8 addrmode3:$addr))]>;
|
||||
|
||||
let mayLoad = 1, neverHasSideEffects = 1, hasExtraDefRegAllocReq = 1 in {
|
||||
// Load doubleword
|
||||
def LDRD : AI3ld<0b1101, 0, (outs GPR:$Rd, GPR:$dst2),
|
||||
(ins addrmode3:$addr), LdMiscFrm,
|
||||
IIC_iLoad_d_r, "ldrd", "\t$Rd, $dst2, $addr",
|
||||
[]>, Requires<[IsARM, HasV5TE]>;
|
||||
// Load doubleword
|
||||
def LDRD : AI3ld<0b1101, 0, (outs GPR:$Rt, GPR:$Rt2), (ins addrmode3:$addr),
|
||||
LdMiscFrm, IIC_iLoad_d_r, "ldrd", "\t$Rt, $Rt2, $addr", []>,
|
||||
Requires<[IsARM, HasV5TE]>;
|
||||
}
|
||||
|
||||
def LDA : AIldracq<0b00, (outs GPR:$Rt), (ins addr_offset_none:$addr),
|
||||
@ -2535,12 +2534,11 @@ def STRH : AI3str<0b1011, (outs), (ins GPR:$Rt, addrmode3:$addr), StMiscFrm,
|
||||
|
||||
// Store doubleword
|
||||
let mayStore = 1, neverHasSideEffects = 1, hasExtraSrcRegAllocReq = 1 in
|
||||
def STRD : AI3str<0b1111, (outs), (ins GPR:$Rt, GPR:$src2, addrmode3:$addr),
|
||||
StMiscFrm, IIC_iStore_d_r,
|
||||
"strd", "\t$Rt, $src2, $addr", []>,
|
||||
Requires<[IsARM, HasV5TE]> {
|
||||
let Inst{21} = 0;
|
||||
}
|
||||
def STRD : AI3str<0b1111, (outs), (ins GPR:$Rt, GPR:$Rt2, addrmode3:$addr),
|
||||
StMiscFrm, IIC_iStore_d_r, "strd", "\t$Rt, $Rt2, $addr", []>,
|
||||
Requires<[IsARM, HasV5TE]> {
|
||||
let Inst{21} = 0;
|
||||
}
|
||||
|
||||
// Indexed stores
|
||||
multiclass AI2_stridx<bit isByte, string opc,
|
||||
|
Loading…
Reference in New Issue
Block a user