diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-10-21 07:57:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-10-21 07:57:33 +0000 |
commit | 92ad193bb04841ab7c0bc16ab9e8379f9d0f48cc (patch) | |
tree | 947257cfdb9b659f802e7c01b0384750650815dc | |
parent | b7432f0f2710102ba870ac34e6bcdc5881663be8 (diff) | |
download | gdb-92ad193bb04841ab7c0bc16ab9e8379f9d0f48cc.zip gdb-92ad193bb04841ab7c0bc16ab9e8379f9d0f48cc.tar.gz gdb-92ad193bb04841ab7c0bc16ab9e8379f9d0f48cc.tar.bz2 |
Use SIM*_OVERFLOW_RESULT defined in sim-alu.h
-rw-r--r-- | sim/mips/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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. 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 */ |