On 10/26/2015 04:44 PM, Anatoliy Sokolov wrote:
Hi.

This patch removes obsolete GO_IF_LEGITIMATE_ADDRESS macros from
the MCORE back end in the GCC and introduce equivalent
TARGET_LEGITIMATE_ADDRESS_P target hook.

Regression tested on mcore-unknown-elf. Only compile test run.

OK for trunk?

2015-08-24  Anatoly Sokolov  <ae...@post.ru>

     * config/mcore/mcore.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
       BASE_REGISTER_RTX_P, INDEX_REGISTER_RTX_P,
       GO_IF_LEGITIMATE_ADDRESS): Remove macros.
     * config/mcore/mcore.c (mcore_reg_ok_for_base_p,
       mcore_base_register_rtx_p, mcore_legitimate_index_p,
       mcore_legitimate_address_p): New functions.
       (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Define.
OK.  Please install.
jeff

Reply via email to