diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-26 16:51:32 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-26 16:51:32 -0400 |
commit | 1cfb30483163d1742b4ef4834610b79d8a336007 (patch) | |
tree | 323a24d4aa52e5849d79aba9f4e68dd8d5c9e1b5 | |
parent | cf54380fb927dc4d367a79d1ae7416cadb4eb9c3 (diff) | |
download | gcc-1cfb30483163d1742b4ef4834610b79d8a336007.zip gcc-1cfb30483163d1742b4ef4834610b79d8a336007.tar.gz gcc-1cfb30483163d1742b4ef4834610b79d8a336007.tar.bz2 |
(override_options): Don't allow anything but integers to go in the
HI/LO registers.
From-SVN: r10404
-rw-r--r-- | gcc/config/mips/mips.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 4e6d7f3..890b3d7 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -3453,8 +3453,9 @@ override_options () && (! TARGET_SINGLE_FLOAT || size <= 4)); else if (MD_REG_P (regno)) - temp = (size <= UNITS_PER_WORD - || (regno == MD_REG_FIRST && size == 2 * UNITS_PER_WORD)); + temp = (class == MODE_INT + && (size <= UNITS_PER_WORD + || (regno == MD_REG_FIRST && size == 2 * UNITS_PER_WORD))); else temp = FALSE; |