Backed out changeset de33fb39fa48 (bug 1451976) for spidermonkey failures on cacheir/bug1451984.js:7. CLOSED TREE

This commit is contained in:
Csoregi Natalia 2018-04-10 15:17:18 +03:00
parent 91ea0d21ac
commit af2c31f32b
3 changed files with 0 additions and 23 deletions

View File

@ -1,11 +0,0 @@
// This test case originally failed under --enable-more-deterministic
setJitCompilerOption("ion.forceinlineCaches", 1);
function f(y, z) {
return Math.fround(z) < ~y;
};
var x = [2 ** 53 - 2, 0];
for (var i = 0; i < 3; ++i) {
assertEq(f(x[0], x[1]),true);
}

View File

@ -1,10 +0,0 @@
// This test case originally failed only with --enable-more-deterministic
setJitCompilerOption("ion.forceinlineCaches", 1);
function f(x) {
print(Math.pow(Math.fround(Math.fround()), ~(x >>> 0)));
}
assertEq(f(-1),true);
assertEq(f(-1),true);
assertEq(f(-1),true);
assertEq(f(-1),true);

View File

@ -1896,8 +1896,6 @@ CacheIRCompiler::emitTruncateDoubleToUInt32()
masm.bind(&truncateABICall);
LiveRegisterSet save(GeneralRegisterSet::Volatile(), liveVolatileFloatRegs());
save.takeUnchecked(FloatReg0);
// Bug 1451976
save.takeUnchecked(FloatReg0.asSingle());
masm.PushRegsInMask(save);
masm.setupUnalignedABICall(res);