From 92ad193bb04841ab7c0bc16ab9e8379f9d0f48cc Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 21 Oct 1997 07:57:33 +0000 Subject: Use SIM*_OVERFLOW_RESULT defined in sim-alu.h --- sim/mips/ChangeLog | 5 +++++ sim/mips/sim-main.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 70e602a..dc487a2 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 6a3d4f7..185ada4 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 */ -- cgit v1.1