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: [RS6000] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST


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~


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