Commit 6047ddc8 by Eric Christopher Committed by Eric Christopher

abi64.h: Add support for MEABI.

2001-09-15  Eric Christopher  <echristo@redhat.com>

	* config/mips/abi64.h: Add support for MEABI.

From-SVN: r45624
parent 0e5a4ad8
2001-09-15 Eric Christopher <echristo@redhat.com> 2001-09-15 Eric Christopher <echristo@redhat.com>
* config/mips/abi64.h: Add support for MEABI.
2001-09-15 Eric Christopher <echristo@redhat.com>
* config/mips/mips.md: Add unspec #2. * config/mips/mips.md: Add unspec #2.
(reload_indi): Use. (reload_indi): Use.
(reload_outdi): Ditto. (reload_outdi): Ditto.
......
...@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */
call_used_regs[regno] = 1; \ call_used_regs[regno] = 1; \
} \ } \
/* odd registers from fp21 to fp31 are now caller saved. */ \ /* odd registers from fp21 to fp31 are now caller saved. */ \
if (mips_abi == ABI_N32) \ if (mips_abi == ABI_N32 || mips_abi == ABI_MEABI) \
{ \ { \
int regno; \ int regno; \
for (regno = FP_REG_FIRST + 21; regno <= FP_REG_FIRST + 31; regno+=2) \ for (regno = FP_REG_FIRST + 21; regno <= FP_REG_FIRST + 31; regno+=2) \
...@@ -254,6 +254,3 @@ extern struct rtx_def *mips_function_value PARAMS ((union tree_node *, union tre ...@@ -254,6 +254,3 @@ extern struct rtx_def *mips_function_value PARAMS ((union tree_node *, union tre
/* ??? Could optimize structure passing by putting the right register rtx /* ??? Could optimize structure passing by putting the right register rtx
into the field decl, so that if we use the field, we can take the value from into the field decl, so that if we use the field, we can take the value from
a register instead of from memory. */ a register instead of from memory. */
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