This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [V850] Hookize GO_IF_LEGITIMATE_ADDRESS


On 07/02/2015 12:18 PM, Anatoliy Sokolov wrote:
Hi.

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

Regression tested on v850-unknown-eabi.

2015-07-02  Anatoly Sokolov  <aesok@post.ru>

     * config/v850/v850.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
     REG_OK_FOR_BASE_P_STRICT, REG_OK_FOR_INDEX_P_STRICT, STRICT,
     RTX_OK_FOR_BASE_P, GO_IF_LEGITIMATE_ADDRESS): Remove macros.
     * config/v850/v850.c (TARGET_LEGITIMATE_ADDRESS_P): Define.
     (v850_reg_ok_for_base_, v850_rtx_ok_for_base_p,
     v850_legitimate_address_p): New functions.
OK.  Please install.

Thanks,
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]