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]

[PATCH] SMS improvements 2/2





The following patch includes the  improvements intended for GCC 4.1.
as described here : http://gcc.gnu.org/wiki/SMS%20Improvements
items 2 to 5.

Passed bootstrap (with -fmodulo-sched flag) on powerpc-apple-darwin
and i686-pc-linux-gnu, regression in progress.

Ok for mainline if regression passes ?

Mostafa.

2005-03-10 Mostafa Hagog <mustafa@il.ibm.com>

      * cfg.c (clear_bb_flags): Don't clear BB_DISABLE_SCHEDULE.
      * ddg.c (create_ddg_dependence): Ignore register ANTI_DEP.
      * 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 fixing.
      (generate_prolog_epilog): Remove old loop versioning.
      (sms_schedule): Use loop information, loop_version.
      (sms_schedule_by_order): Split part of it to get_sched_window.
      * passes.c (rest_of_handle_sms): call cfg_layout_initialize before
SMS and
      cfg_layout_finalize and free_dominance_info after it.

(See attached file: sms_main-6.patch)

Attachment: sms_main-6.patch
Description: Binary data


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