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: RFA: patch to solve PR 39762.


Approved.

kenny

Vladimir Makarov wrote:
> The problem is described on
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39762
>
>
> The patch has been successfully bootstrapped on x86_64.  Ok to commit
> into the trunk?
>
>
> 2009-04-15  Vladimir Makarov  <vmakarov@redhat.com>
>
>    PR rtl-optimization/39762
>    * ira-int.h (ira_register_move_cost, ira_may_move_in_cost,
>    ira_may_move_out_cost): Add comments about way of their usage.
>    (ira_get_register_move_cost, ira_get_may_move_cost): New
>    functions.
>       * ira-conflicts.c (process_regs_for_copy): Use function
>    ira_get_register_move_cost instead of global
>    ira_register_move_cost.
>
>    * ira-color.c (update_copy_costs, calculate_allocno_spill_cost,
>    color_pass, move_spill_restore, update_curr_costs): Ditto.
>
>    * ira-lives.c (process_single_reg_class_operands): Ditto.
>
>    * ira-emit.c (emit_move_list): Ditto.
>
>    * ira-costs.c (copy_cost): Don't call ira_init_register_move_cost.
>    (record_reg_classes): Ditto.  Use functions
>    ira_get_register_move_cost and ira_get_may_move_cost instead of
>    global vars ira_register_move_cost, ira_may_move_out_cost and
>    ira_may_move_in_cost.
>    (record_address_regs): Don't call ira_init_register_move_cost.
>    Use function ira_get_may_move_cost instead of global
>    ira_may_move_in_cost.
>    (process_bb_node_for_hard_reg_moves): Use function
>    ira_get_register_move_cost instead of global
>    ira_register_move_cost.
>    (ira_costs): Don't call ira_init_register_move_cost.
>   


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