Re: [PATCH, SMS] Fix calculation of issue_rate

2011-05-19 Thread Revital Eres
Hello, > > * modulo-sched.c (sms_schedule): Fix stage_count calculation. > Sorry, just noticed that the changelog entry is wrong, here a correction: * modulo-sched.c (sms_schedule): Fix issue_rate calculation. Thanks, Revital

[PATCH, SMS] Fix calculation of issue_rate

2011-05-18 Thread Revital Eres
Hello, The issue rate is currently been set in SMS by calling targetm.sched.issue_rate function if it is defined. For rs6000 the issue_rate is 1 if !reload_completed && !flag_sched_pressure. To bypass that, SMS sets reload_completed to 1 before calling targetm.sched.issue_rate and restores it's