diff options
author | Kevin Buettner <kevinb@redhat.com> | 2003-04-01 19:43:29 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@gcc.gnu.org> | 2003-04-01 19:43:29 +0000 |
commit | 77d4f3a4f45929559d6181c775466936189f704f (patch) | |
tree | c7d98b2ef2213a729ea3d3562cd40e59f6af9906 | |
parent | 705412b04b8325c87f5ef62ff42e2064d784c7e4 (diff) | |
download | gcc-77d4f3a4f45929559d6181c775466936189f704f.zip gcc-77d4f3a4f45929559d6181c775466936189f704f.tar.gz gcc-77d4f3a4f45929559d6181c775466936189f704f.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 3 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f9aed3..d1301ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index d31caeb..b806fb1 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 9c6fefd..dcacea3 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 |