mips.c (override_options): Allow the hi and lo registers to store any integral mode, not just MODE_INTs.

* config/mips/mips.c (override_options): Allow the hi and lo registers
	to store any integral mode, not just MODE_INTs.

From-SVN: r81623
This commit is contained in:
Richard Sandiford 2004-05-07 15:03:31 +00:00 committed by Richard Sandiford
parent 8e31e1284d
commit 9045f39a0e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-07 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.c (override_options): Allow the hi and lo registers
to store any integral mode, not just MODE_INTs.
2004-05-07 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.

View File

@ -4970,7 +4970,7 @@ override_options (void)
|| (ISA_HAS_8CC && mode == TFmode));
else if (MD_REG_P (regno))
temp = (class == MODE_INT
temp = (INTEGRAL_MODE_P (mode)
&& (size <= UNITS_PER_WORD
|| (regno == MD_REG_FIRST
&& size == 2 * UNITS_PER_WORD)));