This is the mail archive of the gdb-patches@sourceware.org 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]

[PATCH] MIPS sim: Restore M[FT]{HI,LO} for mips{32,64}


Hello All,

I applied the appended patch, it restores some bits which went missing
in the dspr2 shuffling.


Thiemo


Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/sim/mips/ChangeLog,v
retrieving revision 1.139
diff -u -p -r1.139 ChangeLog
--- ChangeLog	20 Feb 2007 13:53:47 -0000	1.139
+++ ChangeLog	1 Mar 2007 14:01:46 -0000
@@ -1,3 +1,8 @@
+2007-03-01  Thiemo Seufer  <ths@mips.com>
+
+	* mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
+	and mips64.
+
 2007-02-20  Thiemo Seufer  <ths@mips.com>
 
 	* dsp.igen: Update copyright notice.
Index: mips.igen
===================================================================
RCS file: /cvs/src/src/sim/mips/mips.igen,v
retrieving revision 1.64
diff -u -p -r1.64 mips.igen
--- mips.igen	20 Feb 2007 13:28:55 -0000	1.64
+++ mips.igen	1 Mar 2007 14:01:46 -0000
@@ -2531,6 +2531,8 @@
 *vr4100:
 *vr5000:
 *r3900:
+*mips32:
+*mips64:
 {
   do_mfhi (SD_, RD);
 }
@@ -2568,6 +2570,8 @@
 *vr4100:
 *vr5000:
 *r3900:
+*mips32:
+*mips64:
 {
   do_mflo (SD_, RD);
 }
@@ -2717,6 +2721,8 @@
 *vr4100:
 *vr5000:
 *r3900:
+*mips32:
+*mips64:
 {
   check_mt_hilo (SD_, HIHISTORY);
   HI = GPR[RS];
@@ -2746,6 +2752,8 @@
 *vr4100:
 *vr5000:
 *r3900:
+*mips32:
+*mips64:
 {
   check_mt_hilo (SD_, LOHISTORY);
   LO = GPR[RS];


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