This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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));
   }
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]