[ARM] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST
Richard Earnshaw
rearnsha@arm.com
Wed Dec 14 19:07:00 GMT 2011
On 14/12/11 19:01, Anatoly Sokolov wrote:
> Hi.
>
> This patch removes obsolete REGISTER_MOVE_COST and MEMORY_MOVE_COST
> macros from the ARM back end in the GCC and introduces equivalent
> TARGET_REGISTER_MOVE_COST and TARGET_MEMORY_MOVE_COST target hooks.
>
> Bootstrapped and regression tested on arm-unknown-linux-gnueabi.
>
> OK to install?
>
> * config/arm/arm.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
> * config/arm/arm.c (arm_memory_move_cost, arm_register_move_cost):
> New functions.
> (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
>
OK.
R.
More information about the Gcc-patches
mailing list