]> gcc.gnu.org Git - gcc.git/commitdiff
mips.c (override_options): Provide mappings for HI_REGNUM and LO_REGNUM.
authorKevin Buettner <kevinb@redhat.com>
Tue, 1 Apr 2003 19:43:29 +0000 (19:43 +0000)
committerKevin Buettner <kevinb@gcc.gnu.org>
Tue, 1 Apr 2003 19:43:29 +0000 (19:43 +0000)
* config/mips/mips.c (override_options): Provide mappings for
HI_REGNUM and LO_REGNUM.
* config/mips/mips.h (MD_DBX_FIRST): Define.

From-SVN: r65139

gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h

index 5f9aed3fad0858d4a633d799df9b81cdf4338b23..d1301ab5a4011fe2351ce4d9c1aef8d06650a229 100644 (file)
@@ -1,3 +1,9 @@
+2003-04-01  Kevin Buettner  <kevinb@redhat.com>
+
+       * config/mips/mips.c (override_options): Provide mappings for
+       HI_REGNUM and LO_REGNUM.
+       * config/mips/mips.h (MD_DBX_FIRST): Define.
+
 2003-04-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        * combine.c (merge_outer_ops): Fix typo.
index d31caebdf5e9516f5c495b4de5f0def93f63d19c..b806fb1c97562775ad5e813d4cdce781587f7314 100644 (file)
@@ -5767,6 +5767,9 @@ override_options ()
   for (i = FP_REG_FIRST; i <= FP_REG_LAST; i++)
     mips_dbx_regno[i] = i + start;
 
+  mips_dbx_regno[HI_REGNUM] = MD_DBX_FIRST + 0;
+  mips_dbx_regno[LO_REGNUM] = MD_DBX_FIRST + 1;
+
   /* Set up array giving whether a given register can hold a given mode.
      At present, restrict ints from being in FP registers, because reload
      is a little enthusiastic about storing extra values in FP registers,
index 9c6fefd298fd566e798a57b9e2cbbdbb9170e083..dcacea341b79d635b16d139bdbf1f0bd04547af0 100644 (file)
@@ -1851,6 +1851,7 @@ do {                                                      \
 #define MD_REG_FIRST 64
 #define MD_REG_LAST  66
 #define MD_REG_NUM   (MD_REG_LAST - MD_REG_FIRST + 1)
+#define MD_DBX_FIRST (FP_DBX_FIRST + FP_REG_NUM)
 
 #define ST_REG_FIRST 67
 #define ST_REG_LAST  74
This page took 0.078591 seconds and 5 git commands to generate.