forked from dolphin-emu/dolphin
JitArm64: Remove unnecessary instruction from ConvertDoubleToSingle
The upper bits are masked away by the preceding LSR, and the lower bits are masked away by the following BFXIL.
This commit is contained in:
@@ -356,7 +356,6 @@ void JitArm64::GenerateConvertDoubleToSingle()
|
|||||||
LSR(ARM64Reg::X1, ARM64Reg::X0, 32);
|
LSR(ARM64Reg::X1, ARM64Reg::X0, 32);
|
||||||
FixupBranch denormal = B(CCFlags::CC_LS);
|
FixupBranch denormal = B(CCFlags::CC_LS);
|
||||||
|
|
||||||
AND(ARM64Reg::X1, ARM64Reg::X1, LogicalImm(0xc0000000, 64));
|
|
||||||
BFXIL(ARM64Reg::X1, ARM64Reg::X0, 29, 30);
|
BFXIL(ARM64Reg::X1, ARM64Reg::X0, 29, 30);
|
||||||
RET();
|
RET();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user