mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 910796 - IonMonkey: Micro-optimize testNegativeZero on x64. r=sstangl
This commit is contained in:
parent
f2d154d5d0
commit
df18f98828
@ -314,6 +314,6 @@ Assembler::Condition
|
|||||||
MacroAssemblerX64::testNegativeZero(const FloatRegister ®, const Register &scratch)
|
MacroAssemblerX64::testNegativeZero(const FloatRegister ®, const Register &scratch)
|
||||||
{
|
{
|
||||||
movq(reg, scratch);
|
movq(reg, scratch);
|
||||||
subq(Imm32(1), scratch);
|
cmpq(scratch, Imm32(1));
|
||||||
return Overflow;
|
return Overflow;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user