diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 70e602aa85..dc487a27e7 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 20 15:29:04 1997 Andrew Cagney + + * sim-main.h (ALU64_END, ALU32_END): Use ALU*_OVERFLOW_RESULT + macro to obtain result of ALU op. + Tue Oct 21 17:39:14 1997 Andrew Cagney * interp.c (sim_info): Call profile_print. diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 6a3d4f7fb7..185ada4ab1 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -187,13 +187,13 @@ unsigned64 convert PARAMS ((SIM_DESC sd, int rm, unsigned64 op, FP_formats from, #define ALU32_END(ANS) \ if (ALU32_HAD_OVERFLOW) \ SignalExceptionIntegerOverflow (); \ - (ANS) = alu_overflow_val; + (ANS) = ALU32_OVERFLOW_RESULT #define ALU64_END(ANS) \ if (ALU64_HAD_OVERFLOW) \ SignalExceptionIntegerOverflow (); \ - (ANS) = alu_val; + (ANS) = ALU64_OVERFLOW_RESULT; /* start-sanitize-r5900 */