| Index: src/s390/simulator-s390.cc
|
| diff --git a/src/s390/simulator-s390.cc b/src/s390/simulator-s390.cc
|
| index 2aebdd8f930808e4243c5451c106e6325d5aa5af..1cfe4a561876ec2d60570569633b9ba040b234ac 100644
|
| --- a/src/s390/simulator-s390.cc
|
| +++ b/src/s390/simulator-s390.cc
|
| @@ -3406,10 +3406,10 @@ bool Simulator::DecodeFourByteFloatingPoint(Instruction* instr) {
|
| SetS390ConditionCode<double>(r1_val, r2_val);
|
| }
|
| } else if (op == CEBR) {
|
| - if (isNaN(r1_val) || isNaN(r2_val)) {
|
| + if (isNaN(fr1_val) || isNaN(fr2_val)) {
|
| condition_reg_ = CC_OF;
|
| } else {
|
| - SetS390ConditionCode<float>(r1_val, r2_val);
|
| + SetS390ConditionCode<float>(fr1_val, fr2_val);
|
| }
|
| } else if (op == CDGBR) {
|
| int64_t r2_val = get_register(r2);
|
|
|