diff options
author | Martin Liska <mliska@suse.cz> | 2017-06-19 15:19:56 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-06-19 13:19:56 +0000 |
commit | 0d053a49b6f6daf3036be9aed19b2fb9a549418d (patch) | |
tree | cd809e6253472300b456fecbf1de10fbc9d19f46 /gcc | |
parent | 871cc215f7507cbe9ed4b1a5a9fd884deb65c18a (diff) | |
download | gcc-0d053a49b6f6daf3036be9aed19b2fb9a549418d.zip gcc-0d053a49b6f6daf3036be9aed19b2fb9a549418d.tar.gz gcc-0d053a49b6f6daf3036be9aed19b2fb9a549418d.tar.bz2 |
Introduce 4-stages profiledbootstrap to get a better profile.
2017-06-19 Martin Liska <mliska@suse.cz>
* doc/install.texi: Document that PGO runs in 4 stages.
2017-06-19 Martin Liska <mliska@suse.cz>
* Makefile.def: Define 4 stages PGO bootstrap.
* Makefile.tpl: Define FLAGS.
* Makefile.in: Regenerate.
From-SVN: r249366
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/install.texi | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 084671a..6ddc171 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2017-06-19 Martin Liska <mliska@suse.cz> + * doc/install.texi: Document that PGO runs in 4 stages. + +2017-06-19 Martin Liska <mliska@suse.cz> + PR ipa/80732 * attribs.c (make_dispatcher_decl): Do not append '.ifunc' to dispatcher function name. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 8e17bcc..7c9e2f2 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2619,8 +2619,9 @@ bootstrap the compiler with profile feedback, use @code{make profiledbootstrap}. When @samp{make profiledbootstrap} is run, it will first build a @code{stage1} compiler. This compiler is used to build a @code{stageprofile} compiler instrumented to collect execution counts of instruction and branch -probabilities. Then runtime libraries are compiled with profile collected. -Finally a @code{stagefeedback} compiler is built using the information collected. +probabilities. Training run is done by building @code{stagetrain} +compiler. Finally a @code{stagefeedback} compiler is built +using the information collected. Unlike standard bootstrap, several additional restrictions apply. The compiler used to build @code{stage1} needs to support a 64-bit integral type. |