This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [M32C] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST
- From: DJ Delorie <dj at redhat dot com>
- To: Anatoly Sokolov <aesok at post dot ru>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 31 Aug 2010 14:01:32 -0400
- Subject: Re: [M32C] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST
- References: <15875213.20100829010554@post.ru>
> OK to install?
>
> * config/m32c/m32c.c (classes_intersect): Remove.
> (m32c_preferred_reload_class, m32c_secondary_reload_class): Use
> reg_classes_intersect_p instead of classes_intersect.
> (class_can_hold_mode): Change arguments type from enum reg_class to
> reg_class_t. Use reg_class_contents instead of class_contents.
> (m32c_register_move_cost): Make static. Change arguments type from
> enum reg_class to reg_class_t. Use reg_classes_intersect_p instead of
> classes_intersect. Use reg_class_contents instead of class_contents.
> (m32c_memory_move_cost): Make static. Change arguments type from
> enum reg_class to reg_class_t.
> (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
> * config/m32c/m32c.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
> * config/m32c/m32c-protos.h (m32c_register_move_cost,
> m32c_memory_move_cost): Remove.
Ok.