aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-04 13:55:05 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-04 13:55:05 +0000
commit48c961adcb954a5e7bc5f404698d0800e872a651 (patch)
treea75df1fe1ecee1f3689f8ce5ce3f5bf6bf356993 /gcc
parenta9563ea3ef3a277864a351e3d2dab6cb4b9c665a (diff)
downloadgcc-48c961adcb954a5e7bc5f404698d0800e872a651.zip
gcc-48c961adcb954a5e7bc5f404698d0800e872a651.tar.gz
gcc-48c961adcb954a5e7bc5f404698d0800e872a651.tar.bz2
sh.h (PREDICATE_CODES): Add CONST to general_movsrc_operand.
* config/sh/sh.h (PREDICATE_CODES): Add CONST to general_movsrc_operand. From-SVN: r97542
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/sh/sh.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b498b31..f5002d5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index edeb135..8f9066f 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -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}}, \