Use SIM*_OVERFLOW_RESULT defined in sim-alu.h
This commit is contained in:
parent
b7432f0f27
commit
92ad193bb0
|
@ -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>
|
Tue Oct 21 17:39:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* interp.c (sim_info): Call profile_print.
|
* interp.c (sim_info): Call profile_print.
|
||||||
|
|
|
@ -187,13 +187,13 @@ unsigned64 convert PARAMS ((SIM_DESC sd, int rm, unsigned64 op, FP_formats from,
|
||||||
#define ALU32_END(ANS) \
|
#define ALU32_END(ANS) \
|
||||||
if (ALU32_HAD_OVERFLOW) \
|
if (ALU32_HAD_OVERFLOW) \
|
||||||
SignalExceptionIntegerOverflow (); \
|
SignalExceptionIntegerOverflow (); \
|
||||||
(ANS) = alu_overflow_val;
|
(ANS) = ALU32_OVERFLOW_RESULT
|
||||||
|
|
||||||
|
|
||||||
#define ALU64_END(ANS) \
|
#define ALU64_END(ANS) \
|
||||||
if (ALU64_HAD_OVERFLOW) \
|
if (ALU64_HAD_OVERFLOW) \
|
||||||
SignalExceptionIntegerOverflow (); \
|
SignalExceptionIntegerOverflow (); \
|
||||||
(ANS) = alu_val;
|
(ANS) = ALU64_OVERFLOW_RESULT;
|
||||||
|
|
||||||
/* start-sanitize-r5900 */
|
/* start-sanitize-r5900 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue