From: Andrew Cagney Date: Tue, 21 Oct 1997 07:57:33 +0000 (+0000) Subject: Use SIM*_OVERFLOW_RESULT defined in sim-alu.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92ad193bb04841ab7c0bc16ab9e8379f9d0f48cc;p=binutils-gdb.git Use SIM*_OVERFLOW_RESULT defined in sim-alu.h --- diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 70e602aa85b..dc487a27e73 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 6a3d4f7fb78..185ada4ab1f 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 */