From: Kazu Hirata Date: Mon, 4 Apr 2005 13:51:28 +0000 (+0000) Subject: mcore.h (PREDICATE_CODES): Add SYMBOL_REF and LABEL_REF to mcore_general_movsrc_operand. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9563ea3ef3a277864a351e3d2dab6cb4b9c665a;p=gcc.git mcore.h (PREDICATE_CODES): Add SYMBOL_REF and LABEL_REF to mcore_general_movsrc_operand. * 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. From-SVN: r97541 --- 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 * 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 */