Merge pull request #11292 from JosJuice/jit64-imm-ra-update
Jit64: Use MOV instead of ADD for updating imm Ra
This commit is contained in:
commit
677121bdbc
|
@ -505,10 +505,10 @@ void Jit64::stX(UGeckoInstruction inst)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RCOpArg Ra = gpr.UseNoImm(a, RCMode::ReadWrite);
|
RCOpArg Ra = gpr.UseNoImm(a, RCMode::Write);
|
||||||
RegCache::Realize(Ra);
|
RegCache::Realize(Ra);
|
||||||
MemoryExceptionCheck();
|
MemoryExceptionCheck();
|
||||||
ADD(32, Ra, Imm32((u32)offset));
|
MOV(32, Ra, Imm32(addr));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,10 +144,10 @@ void Jit64::stfXXX(UGeckoInstruction inst)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RCOpArg Ra = gpr.UseNoImm(a, RCMode::ReadWrite);
|
RCOpArg Ra = gpr.UseNoImm(a, RCMode::Write);
|
||||||
RegCache::Realize(Ra);
|
RegCache::Realize(Ra);
|
||||||
MemoryExceptionCheck();
|
MemoryExceptionCheck();
|
||||||
ADD(32, Ra, Imm32((u32)imm));
|
MOV(32, Ra, Imm32(addr));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue