summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-04 13:51:28 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-04 13:51:28 +0000
commite33f65d4665df285e8b5137ece2a6893458cec96 (patch)
treecd0b9f420964b68918585bdb19ac214db5d2e5d8 /gcc
parent037fb94575acf80e66f392ead36f0058fb7f41e4 (diff)
downloadgcc-e33f65d4665df285e8b5137ece2a6893458cec96.tar.gz
* config/mcore/mcore.h (PREDICATE_CODES): Add SYMBOL_REF and
LABEL_REF to mcore_general_movsrc_operand. Add SYMBOL_REF to mcore_call_address_operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97541 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mcore/mcore.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e224af256c0..b498b3150f6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -12,6 +12,10 @@
* config/fr30/fr30.md: Include predicates.md.
* config/fr30/predicates.md: New.
+ * config/mcore/mcore.h (PREDICATE_CODES): Add SYMBOL_REF and
+ LABEL_REF to mcore_general_movsrc_operand. Add SYMBOL_REF to
+ mcore_call_address_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/mcore/mcore.h b/gcc/config/mcore/mcore.h
index 4f68c632300..c5b52594608 100644
--- a/gcc/config/mcore/mcore.h
+++ b/gcc/config/mcore/mcore.h
@@ -1128,7 +1128,7 @@ extern long mcore_current_compilation_timestamp;
#define PREDICATE_CODES \
{ "mcore_arith_reg_operand", { REG, SUBREG }}, \
- { "mcore_general_movsrc_operand", { MEM, CONST_INT, REG, SUBREG }},\
+ { "mcore_general_movsrc_operand", { MEM, CONST_INT, REG, SUBREG, SYMBOL_REF, LABEL_REF }},\
{ "mcore_general_movdst_operand", { MEM, CONST_INT, REG, SUBREG }},\
{ "mcore_reload_operand", { MEM, REG, SUBREG }}, \
{ "mcore_arith_J_operand", { CONST_INT, REG, SUBREG }}, \
@@ -1144,6 +1144,6 @@ extern long mcore_current_compilation_timestamp;
{ "mcore_compare_operand", { CONST_INT, REG, SUBREG }}, \
{ "mcore_load_multiple_operation", { PARALLEL }}, \
{ "mcore_store_multiple_operation", { PARALLEL }}, \
- { "mcore_call_address_operand", { REG, SUBREG, CONST_INT }}, \
+ { "mcore_call_address_operand", { REG, SUBREG, CONST_INT, SYMBOL_REF }}, \
#endif /* ! GCC_MCORE_H */