diff options
author | Chris Demetriou <cgd@google.com> | 2002-06-18 22:15:03 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2002-06-18 22:15:03 +0000 |
commit | a2f8b4f350e42a61dbd3ef01e80e7e36313bfd3d (patch) | |
tree | 7028f1af4d1907799813aab63852a6c9ed2b0f45 /sim/mips/mdmx.c | |
parent | 221ea385940527924acd72069506108b77a5f554 (diff) | |
download | gdb-a2f8b4f350e42a61dbd3ef01e80e7e36313bfd3d.zip gdb-a2f8b4f350e42a61dbd3ef01e80e7e36313bfd3d.tar.gz gdb-a2f8b4f350e42a61dbd3ef01e80e7e36313bfd3d.tar.bz2 |
2002-06-18 Chris Demetriou <cgd@broadcom.com>
* mdmx.c (SD_): Delete.
(Unpredictable): Re-define, for now, to directly invoke
unpredictable_action().
(mdmx_acc_op): Fix error in .ob immediate handling.
Diffstat (limited to 'sim/mips/mdmx.c')
-rw-r--r-- | sim/mips/mdmx.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sim/mips/mdmx.c b/sim/mips/mdmx.c index 96abe1d..4955e82 100644 --- a/sim/mips/mdmx.c +++ b/sim/mips/mdmx.c @@ -25,7 +25,11 @@ with this program; if not, write to the Free Software Foundation, Inc., /* Within mdmx.c we refer to the sim_cpu directly. */ #define CPU cpu #define SD (CPU_STATE(CPU)) -#define SD_ cpu, cia, -1 + +/* XXX FIXME: temporary hack while the impact of making unpredictable() + a "normal" (non-igen) function is evaluated. */ +#undef Unpredictable +#define Unpredictable() unpredictable_action (cpu, cia) /* MDMX Representations @@ -874,7 +878,7 @@ mdmx_acc_op(sim_cpu *cpu, ob_vector_acc(ACC.ob, op1, ValueFPR(vt, fmt_mdmx), ob_acc[op]); break; case sel_imm: - ob_map_acc(ACC.ob, op1, op2, ob_acc[op]); + ob_map_acc(ACC.ob, op1, vt, ob_acc[op]); break; } break; |