diff options
author | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-06-17 14:28:57 +0000 |
---|---|---|
committer | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-06-17 14:28:57 +0000 |
commit | 1176073cc1a63f14198c3ba0a02c8f5a52442c2f (patch) | |
tree | de1a7249159b95e20bf39b31161a8cb0f1be1473 /contrib | |
parent | f3e2969a71dfd7d982b3b22db1324c7c4675cff9 (diff) |
Change PRED_LOOP_EXIT from 92 to 85.
* analyze_brprob.py: Fix columns of script output.
* predict.def: PRED_LOOP_EXIT from 92 to 85.
* gcc.dg/predict-9.c: Fix dump scanning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237556 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/analyze_brprob.py | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index c974b75e3587..1a0badc69ff5 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2016-06-17 Martin Liska <mliska@suse.cz> + + * analyze_brprob.py: Fix columns of script output. + 2016-06-13 Richard Biener <rguenther@suse.de> * download_prerequisites (ISL): Bump version to 0.16.1 diff --git a/contrib/analyze_brprob.py b/contrib/analyze_brprob.py index 9808c46de16c..2526623ff550 100755 --- a/contrib/analyze_brprob.py +++ b/contrib/analyze_brprob.py @@ -119,10 +119,10 @@ class Profile: elif sorting == 'coverage': sorter = lambda x: x[1].count - print('%-36s %8s %6s %-16s %14s %8s %6s' % ('HEURISTICS', 'BRANCHES', '(REL)', + print('%-40s %8s %6s %-16s %14s %8s %6s' % ('HEURISTICS', 'BRANCHES', '(REL)', 'HITRATE', 'COVERAGE', 'COVERAGE', '(REL)')) for (k, v) in sorted(self.heuristics.items(), key = sorter): - print('%-36s %8i %5.1f%% %6.2f%% / %6.2f%% %14i %8s %5.1f%%' % + print('%-40s %8i %5.1f%% %6.2f%% / %6.2f%% %14i %8s %5.1f%%' % (k, v.branches, percentage(v.branches, self.branches_max ()), percentage(v.hits, v.count), percentage(v.fits, v.count), v.count, v.count_formatted(), percentage(v.count, self.count_max()) )) |