aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.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
commitb990f6356d3fcb5c2859a61be11fd5eed8c4e03c (patch)
tree8880ecfbfef3683d474b38a807e1e1550eab6217 /gcc/recog.c
parent293166bea0bfdc9a54f18ebe95b9ddd7e79adf4f (diff)
downloadgcc-b990f6356d3fcb5c2859a61be11fd5eed8c4e03c.zip
gcc-b990f6356d3fcb5c2859a61be11fd5eed8c4e03c.tar.gz
gcc-b990f6356d3fcb5c2859a61be11fd5eed8c4e03c.tar.bz2
(constrain_operands, case 'E'): Make this work like
constraint character `F' when REAL_ARITHMETIC is defined. From-SVN: r9357
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 4177e07..8d61952 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -1783,12 +1783,14 @@ constrain_operands (insn_code_num, strict)
break;
case 'E':
+#ifndef REAL_ARITHMETIC
/* Match any CONST_DOUBLE, 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;