mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1209553 - IonMonkey: MIPS: Add suffix 'f' for constant float32. r=arai
--- js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
This commit is contained in:
parent
679e168b51
commit
7c860300da
@ -1094,9 +1094,9 @@ CodeGeneratorMIPSShared::visitCeilF(LCeilF* lir)
|
||||
Label performCeil, done;
|
||||
|
||||
// If x < -1 or x > 0 then perform ceil.
|
||||
masm.loadConstantFloat32(0, scratch);
|
||||
masm.loadConstantFloat32(0.0f, scratch);
|
||||
masm.branchFloat(Assembler::DoubleGreaterThan, input, scratch, &performCeil);
|
||||
masm.loadConstantFloat32(-1, scratch);
|
||||
masm.loadConstantFloat32(-1.0f, scratch);
|
||||
masm.branchFloat(Assembler::DoubleLessThanOrEqual, input, scratch, &performCeil);
|
||||
|
||||
// If binary value is not zero, the input was not 0, so we bail.
|
||||
|
Loading…
Reference in New Issue
Block a user