aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@gmail.com>2014-10-24 08:22:24 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2014-10-24 08:22:24 +0000
commitb75ae7f422bc0c477422faae20d2195ffdeeb5df (patch)
treee4144307b9de4b526b97ba90568b4161c2c35b31 /gcc/sched-int.h
parent4dd9ac6c94f64333ae505dc6d1e76729ccb98bea (diff)
downloadgcc-b75ae7f422bc0c477422faae20d2195ffdeeb5df.zip
gcc-b75ae7f422bc0c477422faae20d2195ffdeeb5df.tar.gz
gcc-b75ae7f422bc0c477422faae20d2195ffdeeb5df.tar.bz2
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
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 033ca59..71a4b5c 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -888,6 +888,9 @@ struct _haifa_insn_data
pressure excess (between source and target). */
int reg_pressure_excess_cost_change;
int model_index;
+
+ /* The deciding reason for INSN's place in the ready list. */
+ int last_rfs_win;
};
typedef struct _haifa_insn_data haifa_insn_data_def;