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
This commit is contained in:
Kevin Buettner 2003-04-01 19:43:29 +00:00 committed by Kevin Buettner
parent 705412b04b
commit 77d4f3a4f4
3 changed files with 10 additions and 0 deletions

View 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.

View 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,

View 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