Browse Source

Use SIM*_OVERFLOW_RESULT defined in sim-alu.h

gdb-4_18-branch
Andrew Cagney 29 years ago
parent
commit
92ad193bb0
  1. 5
      sim/mips/ChangeLog
  2. 4
      sim/mips/sim-main.h

5
sim/mips/ChangeLog

@ -1,3 +1,8 @@
Mon Oct 20 15:29:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
* 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 <cagney@b1.cygnus.com>
* interp.c (sim_info): Call profile_print.

4
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 */

Loading…
Cancel
Save