re PR rtl-optimization/15633 (Failure to propagate FDO counters by vpt results in...
authorPat Haugen <pthaugen@us.ibm.com>
Wed, 23 Jun 2004 16:07:58 +0000 (16:07 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 23 Jun 2004 16:07:58 +0000 (12:07 -0400)
commit701b17c2dc9a6d35097455e6fd410d4dabce29e7
tree1a89f07a18835e2ff45f39c2a9c51d277d13ed95
parentdcbbf6f31bcbb4a3f03793eb6415c6b8202b9f93
re PR rtl-optimization/15633 (Failure to propagate FDO counters by vpt results in performance regression)

2004-06-23  Pat Haugen  <pthaugen@us.ibm.com>

        PR optimization/15633
        * value-prof.c (divmod_fixed_value_transform): Compute probability
        of taking optimal path and pass along to gen_ routine.
        (mod_pow2_value_transform): Same.
        (mod_subtract_transform): Same.
        (gen_divmod_fixed_value): Add new probability parameter.
        Add probability to newly created jump.
        (gen_mod_pow2): Same.
        (gen_mod_subtract): Same.

From-SVN: r83555
gcc/ChangeLog
gcc/value-prof.c