aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1995-04-10 21:39:56 +0000
committerTorbjorn Granlund <tege@gnu.org>1995-04-10 21:39:56 +0000
commit293166bea0bfdc9a54f18ebe95b9ddd7e79adf4f (patch)
treed8e6e6f802dca8cbf92dfb01f4d18e4abae9819b
parent7ac2547f82c125a74adf4e810d49cd2eb791c46a (diff)
downloadgcc-293166bea0bfdc9a54f18ebe95b9ddd7e79adf4f.zip
gcc-293166bea0bfdc9a54f18ebe95b9ddd7e79adf4f.tar.gz
gcc-293166bea0bfdc9a54f18ebe95b9ddd7e79adf4f.tar.bz2
(find_reloads, case 'E'): : Make this work like
constraint character `F' when REAL_ARITHMETIC is defined. From-SVN: r9356
-rw-r--r--gcc/reload.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index aa3efbd..b9d955b 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -2849,12 +2849,14 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
break;
case 'E':
+#ifndef REAL_ARITHMETIC
/* Match any floating double constant, but only if
we can examine the bits of it reliably. */
if ((HOST_FLOAT_FORMAT != TARGET_FLOAT_FORMAT
|| HOST_BITS_PER_WIDE_INT != BITS_PER_WORD)
&& GET_MODE (operand) != VOIDmode && ! flag_pretend_float)
break;
+#endif
if (GET_CODE (operand) == CONST_DOUBLE)
win = 1;
break;
@@ -2997,7 +2999,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
/* If this is a constant that is reloaded into the desired
class by copying it to memory first, count that as another
reload. This is consistent with other code and is
- required to avoid chosing another alternative when
+ required to avoid choosing another alternative when
the constant is moved into memory by this function on
an early reload pass. Note that the test here is
precisely the same as in the code below that calls