From: Kevin Buettner Date: Tue, 1 Apr 2003 19:43:29 +0000 (+0000) Subject: mips.c (override_options): Provide mappings for HI_REGNUM and LO_REGNUM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77d4f3a4f45929559d6181c775466936189f704f;p=gcc.git mips.c (override_options): Provide mappings for HI_REGNUM and LO_REGNUM. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f9aed3fad0..d1301ab5a40 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-04-01 Kevin Buettner + + * 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 * combine.c (merge_outer_ops): Fix typo. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index d31caebdf5e..b806fb1c975 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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, diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 9c6fefd298f..dcacea341b7 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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