aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1995-01-23 23:44:35 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1995-01-23 23:44:35 +0000
commit0326207edc8c4c340a8f043612c4a1bbb1c6cbd5 (patch)
tree71693908fca92b6242cc4ff979f82f8b3b3550bd /gcc
parent80c838cd8efed0fc9234733cfd99d9519a49b521 (diff)
downloadgcc-0326207edc8c4c340a8f043612c4a1bbb1c6cbd5.zip
gcc-0326207edc8c4c340a8f043612c4a1bbb1c6cbd5.tar.gz
gcc-0326207edc8c4c340a8f043612c4a1bbb1c6cbd5.tar.bz2
Permit any small integer mode in the HI/LO registers
From-SVN: r8790
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index f4880bb..6bb1653 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -3361,15 +3361,8 @@ override_options ()
&& (! TARGET_SINGLE_FLOAT || size <= 4));
else if (MD_REG_P (regno))
- {
- if (TARGET_64BIT)
- temp = (mode == DImode
- || mode == SImode
- || (regno == MD_REG_FIRST && mode == TImode));
- else
- temp = (mode == SImode
- || (regno == MD_REG_FIRST && mode == DImode));
- }
+ temp = (size <= UNITS_PER_WORD
+ || (regno == MD_REG_FIRST && size == 2 * UNITS_PER_WORD));
else
temp = FALSE;