| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index fa3e1a88bbf6c0da3e29852af70b099e46539886..da8e2ae4576796285ee2fcbd769beeb3a3f05e39 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -3115,10 +3115,10 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| // F2XM1 calculates 2^st(0) - 1 for -1 < st(0) < 1
|
| __ f2xm1(); // 2^(X-rnd(X)) - 1, rnd(X)
|
| __ fld1(); // 1, 2^(X-rnd(X)) - 1, rnd(X)
|
| - __ faddp(1); // 1, 2^(X-rnd(X)), rnd(X)
|
| + __ faddp(1); // 2^(X-rnd(X)), rnd(X)
|
| // FSCALE calculates st(0) * 2^st(1)
|
| __ fscale(); // 2^X, rnd(X)
|
| - __ fstp(1);
|
| + __ fstp(1); // 2^X
|
| // Bail out to runtime in case of exceptions in the status word.
|
| __ fnstsw_ax();
|
| __ test_b(eax, 0x5F); // We check for all but precision exception.
|
|
|