* config/sh/sh.h (PREDICATE_CODES): Add CONST to
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Apr 2005 13:55:05 +0000 (13:55 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Apr 2005 13:55:05 +0000 (13:55 +0000)
general_movsrc_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97542 138bc75d-0d04-0410-961f-82ee72b054a4

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

index b498b31..f5002d5 100644 (file)
@@ -16,6 +16,9 @@
        LABEL_REF to mcore_general_movsrc_operand.  Add SYMBOL_REF to
        mcore_call_address_operand.
 
+       * config/sh/sh.h (PREDICATE_CODES): Add CONST to
+       general_movsrc_operand.
+
 2005-04-04  Alan Modra  <amodra@bigpond.net.au>
 
        * passes.c (rest_of_handle_final): NULL unlikely_text_section_name
index edeb135..8f9066f 100644 (file)
@@ -3355,7 +3355,7 @@ extern int rtx_equal_function_value_matters;
   {"fpscr_operand", {REG}},                                            \
   {"fpul_operand", {REG}},                                             \
   {"general_extend_operand", {SUBREG, REG, MEM, TRUNCATE}},            \
-  {"general_movsrc_operand", {SUBREG, REG, CONST_INT, CONST_DOUBLE, MEM}}, \
+  {"general_movsrc_operand", {SUBREG, REG, CONST_INT, CONST_DOUBLE, MEM, CONST }}, \
   {"general_movdst_operand", {SUBREG, REG, MEM}},                      \
   {"unaligned_load_operand", {MEM}},                                   \
   {"greater_comparison_operator", {GT,GE,GTU,GEU}},                    \