Revision cf1cf21e target-ppc/op_helper.c
b/target-ppc/op_helper.c | ||
---|---|---|
1041 | 1041 |
farg1.d = float64_add(farg1.d, farg2.d, &env->fp_status); |
1042 | 1042 |
} else { |
1043 | 1043 |
/* Magnitude subtraction of infinities */ |
1044 |
farg1.ll == fload_invalid_op_excp(POWERPC_EXCP_FP_VXISI);
|
|
1044 |
farg1.ll = fload_invalid_op_excp(POWERPC_EXCP_FP_VXISI); |
|
1045 | 1045 |
} |
1046 | 1046 |
#else |
1047 | 1047 |
farg1.d = float64_add(farg1.d, farg2.d, &env->fp_status); |
... | ... | |
1095 | 1095 |
} else { |
1096 | 1096 |
farg1.d = float64_mul(farg1.d, farg2.d, &env->fp_status); |
1097 | 1097 |
} |
1098 |
} |
|
1099 | 1098 |
#else |
1100 | 1099 |
farg1.d = float64_mul(farg1.d, farg2.d, &env->fp_status); |
1101 | 1100 |
#endif |
... | ... | |
1120 | 1119 |
} else if (unlikely(iszero(farg2.d))) { |
1121 | 1120 |
if (iszero(farg1.d)) { |
1122 | 1121 |
/* Division of zero by zero */ |
1123 |
farg1.ll fload_invalid_op_excp(POWERPC_EXCP_FP_VXZDZ); |
|
1122 |
farg1.ll = fload_invalid_op_excp(POWERPC_EXCP_FP_VXZDZ);
|
|
1124 | 1123 |
} else { |
1125 | 1124 |
/* Division by zero */ |
1126 | 1125 |
farg1.ll = float_zero_divide_excp(farg1.d, farg2.d); |
... | ... | |
1465 | 1464 |
/* sNaN square root */ |
1466 | 1465 |
farg.ll = fload_invalid_op_excp(POWERPC_EXCP_FP_VXSNAN); |
1467 | 1466 |
} else { |
1468 |
fard.d = float64_to_float32(farg.d, &env->fp_status);
|
|
1467 |
farg.d = float64_to_float32(farg.d, &env->fp_status);
|
|
1469 | 1468 |
} |
1470 | 1469 |
#else |
1471 | 1470 |
farg.d = float64_to_float32(farg.d, &env->fp_status); |
Also available in: Unified diff