diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2004-05-07 15:03:31 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-05-07 15:03:31 +0000 |
commit | 9045f39a0e63c1c253e09e02fe718450226facd6 (patch) | |
tree | b765991737c3bc7f2d5d2c797f4f2afb535aa091 /gcc | |
parent | 8e31e1284dfe9ea5183e3e2c94bf690a779ea32f (diff) | |
download | gcc-9045f39a0e63c1c253e09e02fe718450226facd6.zip gcc-9045f39a0e63c1c253e09e02fe718450226facd6.tar.gz gcc-9045f39a0e63c1c253e09e02fe718450226facd6.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8705bf2..586c463 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 598120f..beb7250 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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))); |