Bug 910796 - IonMonkey: Micro-optimize testNegativeZero on x64. r=sstangl

This commit is contained in:
Dan Gohman 2013-08-31 07:29:41 -07:00
parent f2d154d5d0
commit df18f98828

View File

@ -314,6 +314,6 @@ Assembler::Condition
MacroAssemblerX64::testNegativeZero(const FloatRegister &reg, const Register &scratch)
{
movq(reg, scratch);
subq(Imm32(1), scratch);
cmpq(scratch, Imm32(1));
return Overflow;
}