OSDN Git Service

* config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Sep 2000 12:38:51 +0000 (12:38 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Sep 2000 12:38:51 +0000 (12:38 +0000)
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

gcc/ChangeLog
gcc/config/sh/sh.h

index 48f476b..1b43f55 100644 (file)
@@ -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
index f8c729e..0f00c0d 100644 (file)
@@ -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}},