summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
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
commit7ac2547f82c125a74adf4e810d49cd2eb791c46a (patch)
tree79249bddde65b8c13102369f96a86d082a9bce06 /gcc/regclass.c
parentb0d577320e3b53315c0326c1a0e724498f321049 (diff)
downloadgcc-7ac2547f82c125a74adf4e810d49cd2eb791c46a.tar.gz
(record_reg_classes, case 'E'): Make this work like
constraint character `F' when REAL_ARITHMETIC is defined. From-SVN: r9355
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index 5e758549e8a..1e82611da6d 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -1171,12 +1171,14 @@ record_reg_classes (n_alts, n_ops, ops, modes, constraints, insn)
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 (op) != VOIDmode && ! flag_pretend_float)
break;
+#endif
if (GET_CODE (op) == CONST_DOUBLE)
win = 1;
break;