Improve scheduler dumps of ready list
authorMaxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
Fri, 24 Oct 2014 08:22:24 +0000 (08:22 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Fri, 24 Oct 2014 08:22:24 +0000 (08:22 +0000)
commitb75ae7f422bc0c477422faae20d2195ffdeeb5df
treee4144307b9de4b526b97ba90568b4161c2c35b31
parent4dd9ac6c94f64333ae505dc6d1e76729ccb98bea
Improve scheduler dumps of ready list

* sched-int.h (struct _haifa_insn_data:last_rfs_win): New field.
* haifa-sched.c (INSN_LAST_RFS_WIN): New access macro.
(rfs_result): Set INSN_LAST_RFS_WIN.  Update signature.
(rank_for_schedule): Update calls to rfs_result to pass new parameters.
(print_rank_for_schedule_stats): Print out elements of ready list that
ended up on their respective places due to each of the sorting
heuristics.
(ready_sort): Update.
(debug_ready_list_1): Improve printout for SCHED_PRESSURE_MODEL.
(schedule_block): Update.

From-SVN: r216621
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-int.h