This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Anatoly Sokolov <aesok at post dot ru>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "nickc at redhat dot com" <nickc at redhat dot com>
- Date: Fri, 06 Jan 2012 09:23:44 +0000
- Subject: Re: [ARM] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST
- References: <4F05F202.9090308@post.ru>
On 05/01/12 18:54, Anatoly Sokolov wrote:
> Hi.
>
> This patch removes obsolete PREFERRED_RELOAD_CLASS macro from the ARM back
> end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target
> hook.
>
> Bootstrapped and regression tested on arm-unknown-linux-gnueabi.
>
> OK to install?
>
> * config/arm/arm.h (PREFERRED_RELOAD_CLASS): Remove.
> * config/arm/arm.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
> (arm_preferred_reload_class): New function.
>
This is OK when we go back to stage 1.
R.