summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-12 12:38:51 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-12 12:38:51 +0000
commit480d8945c560ca7d93f294b5682c03ec2823aa5c (patch)
tree89d10be1f8c47b7f63a1b0e2aa90ead23e7d95a6 /gcc
parent00cecf0283c1298f30ac7928d126b607dab2c479 (diff)
downloadppe42-gcc-480d8945c560ca7d93f294b5682c03ec2823aa5c.tar.gz
ppe42-gcc-480d8945c560ca7d93f294b5682c03ec2823aa5c.zip
* config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
general_movsrc_operand, and remove CONST_INT from general_movdst_operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sh/sh.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 48f476b8ac1..1b43f5578ba 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
+ general_movsrc_operand, and remove CONST_INT from
+ general_movdst_operand.
+
2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
* cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index f8c729e7b67..0f00c0dee9e 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -2231,8 +2231,8 @@ extern struct rtx_def *fpscr_rtx;
{"fp_arith_reg_operand", {SUBREG, REG}}, \
{"fp_extended_operand", {SUBREG, REG, FLOAT_EXTEND}}, \
{"fpscr_operand", {REG}}, \
- {"general_movsrc_operand", {SUBREG, REG, CONST_INT, MEM}}, \
- {"general_movdst_operand", {SUBREG, REG, CONST_INT, MEM}}, \
+ {"general_movsrc_operand", {SUBREG, REG, CONST_INT, CONST_DOUBLE, MEM}}, \
+ {"general_movdst_operand", {SUBREG, REG, MEM}}, \
{"logical_operand", {SUBREG, REG, CONST_INT}}, \
{"noncommutative_float_operator", {MINUS, DIV}}, \
{"register_operand", {SUBREG, REG}},
OpenPOWER on IntegriCloud