Commit 77d4f3a4 by Kevin Buettner Committed by Kevin Buettner

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
parent 705412b0
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.
......
......@@ -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,
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment