This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH resubmit] SMS improvements 2/2
- From: Roger Sayle <roger at eyesopen dot com>
- To: Mostafa Hagog <MUSTAFA at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 2 Apr 2005 22:21:59 -0700 (MST)
- Subject: Re: [PATCH resubmit] SMS improvements 2/2
On Sat, 2 Apr 2005, Mostafa Hagog wrote:
> 2005-03-31 Mostafa Hagog <mustafa@il.ibm.com>
>
> * cfg.c (clear_bb_flags): Don't clear BB_DISABLE_SCHEDULE.
> * modulo-sched.c (undo_replace_buff_elem): New structure.
> (kernel_number_of_cycles, ps_unschedule_node,
> undo_generate_reg_moves,free_undo_replace_buff,
> undo_permute_partial_schedule, loop_single_full_bb_p,
> SIMPLE_SMS_LOOP_P, loop_canon_p, canon_loop,
> build_loops_structure, get_sched_window): New.
> (generate_reg_moves): Return undo_replace_buff_elem and other
> fixes.
> (generate_prolog_epilog): Remove old loop versioning.
> (sms_schedule): Use loop information and loop_version.
> (sms_schedule_by_order): Split part of it to get_sched_window.
> * passes.c (rest_of_handle_sms): call cfg_layout_initialize
> cfg_layout_finalize and free_dominance_info before/after SMS.
This is also OK for mainline.
Roger
--