mirror of https://github.com/PCSX2/pcsx2.git
x86/iR5900: Align LQC2/SQC2 to 16 bytes
LQ/SQ were already 16 byte aligned.
This commit is contained in:
parent
ffe669137b
commit
a12accf3fa
|
@ -939,7 +939,7 @@ void recLQC2()
|
|||
|
||||
if (GPR_IS_CONST1(_Rs_))
|
||||
{
|
||||
int addr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_;
|
||||
const u32 addr = (g_cpuConstRegs[_Rs_].UL[0] + _Imm_) & ~0xFu;
|
||||
|
||||
gpr = vtlb_DynGenReadQuad_Const(128, addr, -1);
|
||||
}
|
||||
|
@ -948,6 +948,7 @@ void recLQC2()
|
|||
_eeMoveGPRtoR(arg1regd, _Rs_);
|
||||
if (_Imm_ != 0)
|
||||
xADD(arg1regd, _Imm_);
|
||||
xAND(arg1regd, ~0xF);
|
||||
|
||||
iFlushCall(FLUSH_FULLVTLB);
|
||||
|
||||
|
@ -991,7 +992,7 @@ void recSQC2()
|
|||
|
||||
if (GPR_IS_CONST1(_Rs_))
|
||||
{
|
||||
int addr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_;
|
||||
const u32 addr = (g_cpuConstRegs[_Rs_].UL[0] + _Imm_) & ~0xFu;
|
||||
vtlb_DynGenWrite_Const(128, addr);
|
||||
}
|
||||
else
|
||||
|
@ -999,6 +1000,7 @@ void recSQC2()
|
|||
_eeMoveGPRtoR(arg1regd, _Rs_);
|
||||
if (_Imm_ != 0)
|
||||
xADD(arg1regd, _Imm_);
|
||||
xAND(arg1regd, ~0xF);
|
||||
|
||||
iFlushCall(FLUSH_FULLVTLB);
|
||||
|
||||
|
|
Loading…
Reference in New Issue