| Index: src/s390/code-stubs-s390.cc
|
| diff --git a/src/s390/code-stubs-s390.cc b/src/s390/code-stubs-s390.cc
|
| index 77a11aeb31591e34cf67d0ecb441595e5366742f..75cb25114dfc1cebe3efae1835e7ba7b2ae60c0e 100644
|
| --- a/src/s390/code-stubs-s390.cc
|
| +++ b/src/s390/code-stubs-s390.cc
|
| @@ -776,7 +776,8 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| __ beq(&no_carry, Label::kNear);
|
| __ mdbr(double_result, double_scratch);
|
| __ bind(&no_carry);
|
| - __ ShiftRightArithP(scratch, scratch, Operand(1));
|
| + __ ShiftRightP(scratch, scratch, Operand(1));
|
| + __ LoadAndTestP(scratch, scratch);
|
| __ beq(&loop_end, Label::kNear);
|
| __ mdbr(double_scratch, double_scratch);
|
| __ b(&while_true);
|
|
|