This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[applied mips sim patch] Fix up a goof from the other day.
- From: cgd at broadcom dot com
- To: gdb-patches at sources dot redhat dot com
- Date: 03 Mar 2002 20:06:49 -0800
- Subject: [applied mips sim patch] Fix up a goof from the other day.
Found when comparing diffs w/ my in-house version.
Glad to see that the testing done by check-gcc has good coverage of
the instructions... NOT. 8-S
cgd
===================================================================
2002-03-03 Chris Demetriou <cgd@broadcom.com>
* mips.igen (FLOOR.L.fmt): Store correct destination register.
Index: mips.igen
===================================================================
RCS file: /cvs/src/src/sim/mips/mips.igen,v
retrieving revision 1.28
diff -u -r1.28 mips.igen
--- mips.igen 2002/03/04 03:19:49 1.28
+++ mips.igen 2002/03/04 03:57:53
@@ -3541,7 +3541,7 @@
if ((fmt != fmt_single) && (fmt != fmt_double))
SignalException(ReservedInstruction,instruction_0);
else
- StoreFPR(FS,fmt_long,Convert(FP_RM_TOMINF,ValueFPR(FS,fmt),fmt,fmt_long));
+ StoreFPR(FD,fmt_long,Convert(FP_RM_TOMINF,ValueFPR(FS,fmt),fmt,fmt_long));
}
}