This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RS6000] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST
- From: Richard Henderson <rth at redhat dot com>
- To: Anatoly Sokolov <aesok at post dot ru>
- Cc: gcc-patches at gcc dot gnu dot org, geoffk at geoffk dot org, edelsohn at gnu dot org, pinskia at gmail dot com
- Date: Thu, 08 Jul 2010 11:09:04 -0700
- Subject: Re: [RS6000] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST
- References: <143439489.20100708020800@post.ru>
On 07/07/2010 03:08 PM, Anatoly Sokolov wrote:
> * reginfo.h (reg_classes_intersect_p): Change arguments type to
> reg_class_t.
> * rtl.h (reg_classes_intersect_p): Adjust prototype.
>
> * config/rs6000/rs6000.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
> Remove macros.
> * config/rs6000/rs6000-protos.h (rs6000_register_move_cost,
> rs6000_memory_move_cost): Remove
> * config/rs6000/rs6000.c (TARGET_REGISTER_MOVE_COST,
> TARGET_MEMORY_MOVE_COST): Define.
> (rs6000_register_move_cost): Make static. Change arguments type from
> enum reg_class to reg_class_t. Adjust rs6000_memory_move_cost calls.
> (rs6000_memory_move_cost): Make static. Change arguments type from
> 'enum reg_class' to reg_class_t.
Ok.
r~