This is the mail archive of the 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: [PATCH SMS 2/2, RFC] Register pressure estimation for the partial schedule (re-submission)

SMS changes are ok.

>* common.opt (fmodulo-sched-reg-pressure, -fmodulo-sched-verbose):
>       New flags.

We should document what the different verbosity levels are, or
at-least their range.


On Tue, Jan 10, 2012 at 7:48 PM, Vladimir Makarov <> wrote:
> On 01/03/2012 04:25 AM, Revital1 Eres wrote:
>> Attached is an updated version with the two changes mentioned above taken
>> from the previous patch.
>> Tested and bootstrap with the other patch in the series on
>> ppc64-redhat-linux, enabling SMS on loops with SC 1.
>> Thanks again,
>> Revital
> IRA changes are ok for me.
> Thanks, Revital.
>> 2012-01-03 ÂRichard Sandiford<>
>> Â Â Â Â Â Â Revital Eres<>
>> Â Â Â Â * loop-invariant.c (get_regno_pressure_class): Move function to...
>> Â Â Â Â * ira.c: Here.
>> Â Â Â Â * common.opt (fmodulo-sched-reg-pressure, -fmodulo-sched-verbose):
>> Â Â Â Â New flags.
>> Â Â Â Â * doc/invoke.texi (fmodulo-sched-reg-pressure,
>> Â Â Â Â -fmodulo-sched-verbose): Document the flags.
>> Â Â Â Â * ira.h (get_regno_pressure_class,
>> Â Â Â Â reset_pseudo_classes_defined_p): Declare.
>> Â Â Â Â * ira-costs.c (reset_pseudo_classes_defined_p): New function.
>> Â Â Â Â * (modulo-sched.o): Include ira.h and modulo-sched.h.
>> Â Â Â Â (modulo-sched-pressure.o): New.
>> Â Â Â Â * modulo-sched.c (ira.h, modulo-sched.h): New includes.
>> Â Â Â Â (partial_schedule_ptr, ps_insn_ptr, struct ps_insn,
>> Â Â Â Â struct ps_reg_move_info, struct partial_schedule): Move to
>> Â Â Â Â modulo-sched.h.
>> Â Â Â Â (ps_rtl_insn, ps_reg_move): Remove static.
>> Â Â Â Â (apply_reg_moves): Remove static and call df_insn_rescan only
>> Â Â Â Â if PS is final.
>> Â Â Â Â (undo_reg_moves): New function.
>> Â Â Â Â (sms_schedule): Call register pressure estimation.
>> Â Â Â Â * modulo-sched.h: New file.
>> Â Â Â Â * modulo-sched-pressure.c: New file.
>> (See attached file: patch_pressure_3_1_12.txt)

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