mips.c (override_options): Allow the hi and lo registers to store any integral mode...
authorRichard Sandiford <rsandifo@redhat.com>
Fri, 7 May 2004 15:03:31 +0000 (15:03 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 7 May 2004 15:03:31 +0000 (15:03 +0000)
* config/mips/mips.c (override_options): Allow the hi and lo registers
to store any integral mode, not just MODE_INTs.

From-SVN: r81623

gcc/ChangeLog
gcc/config/mips/mips.c

index 8705bf2817398e2da235322082b414280807b7ed..586c463df20f9b3bf39760520c1714ce9f3fc2e7 100644 (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.
index 598120fd409f4ef47eeb32c4610cdd2266197b6a..beb7250f6a6cdc1da86896107b15e882afd5d8d7 100644 (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)));