Merge pull request #2497 from Sonicadvance1/aarch64_minor_opt
[AArch64] Minor bugfix and optimization.
This commit is contained in:
commit
1d90a1b8a7
|
@ -162,9 +162,9 @@ u32 JitArm64::EmitBackpatchRoutine(ARM64XEmitter* emit, u32 flags, bool fastmem,
|
||||||
trouble_offset = (emit->GetCodePtr() - code_base) / 4;
|
trouble_offset = (emit->GetCodePtr() - code_base) / 4;
|
||||||
if (flags & BackPatchInfo::FLAG_SIZE_F32)
|
if (flags & BackPatchInfo::FLAG_SIZE_F32)
|
||||||
{
|
{
|
||||||
float_emit.LD1R(32, RS, addr);
|
float_emit.LD1R(32, EncodeRegToDouble(RS), addr);
|
||||||
float_emit.REV64(8, RS, RS);
|
float_emit.REV32(8, EncodeRegToDouble(RS), EncodeRegToDouble(RS));
|
||||||
float_emit.FCVTL(64, RS, RS);
|
float_emit.FCVTL(64, EncodeRegToDouble(RS), EncodeRegToDouble(RS));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,7 +21,6 @@ void JitArm64::psq_l(UGeckoInstruction inst)
|
||||||
INSTRUCTION_START
|
INSTRUCTION_START
|
||||||
JITDISABLE(bJITLoadStorePairedOff);
|
JITDISABLE(bJITLoadStorePairedOff);
|
||||||
FALLBACK_IF(jo.memcheck || !jo.fastmem);
|
FALLBACK_IF(jo.memcheck || !jo.fastmem);
|
||||||
FALLBACK_IF(true);
|
|
||||||
|
|
||||||
// X30 is LR
|
// X30 is LR
|
||||||
// X0 contains the scale
|
// X0 contains the scale
|
||||||
|
|
Loading…
Reference in New Issue