]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
predict.c (tree_predict_by_opcode): Get the probability for builtin_expect from param...
authorRong Xu <xur@google.com>
Thu, 3 Oct 2013 17:13:50 +0000 (17:13 +0000)
committerRong Xu <xur@gcc.gnu.org>
Thu, 3 Oct 2013 17:13:50 +0000 (17:13 +0000)
commit942df7390fb64e26bb7ed6ac58ee9911be4ea5cb
tree48352394b524e6a8198bc62633939861961f8a7e
parent2ef7251f6cd9e228cafa3473929ff55c9cb56928
predict.c (tree_predict_by_opcode): Get the probability for builtin_expect from param builtin_expect_probability.

        * predict.c (tree_predict_by_opcode): Get the probability
        for builtin_expect from param builtin_expect_probability.
        * params.def (BUILTIN_EXPECT_PROBABILITY): New parameter.
        * predict.def (PRED_BUILTIN_EXPECT_RELAXED): Fix comments.
        * doc/invoke.texi: Add documentation for builtin-expect-probability.
        * gcc.target/i386/cold-attribute-2.c: Fix the test by using original
        probability.
        * gcc.dg/tree-ssa/ipa-split-5.c: Ditto.
        * gcc.dg/tree-ssa/ipa-split-6.c: Ditto.

--This li (t)ene, and those below, will be ignored--

M    gcc/params.def
M    gcc/predict.def
M    gcc/ChangeLog
M    gcc/testsuite/gcc.dg/tree-ssa/ipa-split-5.c
M    gcc/testsuite/gcc.dg/tree-ssa/ipa-split-6.c
M    gcc/testsuite/gcc.target/i386/cold-attribute-2.c
M    gcc/predict.c
M    gcc/doc/invoke.texi

From-SVN: r203167
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/params.def
gcc/predict.c
gcc/predict.def
gcc/testsuite/gcc.dg/tree-ssa/ipa-split-5.c
gcc/testsuite/gcc.dg/tree-ssa/ipa-split-6.c
gcc/testsuite/gcc.target/i386/cold-attribute-2.c