diff options
author | Jan Hubicka <jh@suse.cz> | 2009-05-12 16:05:28 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-05-12 14:05:28 +0000 |
commit | 02f0b13a1fa332defa9a828bfc022b45a1c9264c (patch) | |
tree | 63fd58b98168fb3c755ec6145a978b20b41a8e2a /gcc/tree-outof-ssa.c | |
parent | ecb7f6de298a08fab4da4fcc98b6a4a971975a2f (diff) | |
download | gcc-02f0b13a1fa332defa9a828bfc022b45a1c9264c.zip gcc-02f0b13a1fa332defa9a828bfc022b45a1c9264c.tar.gz gcc-02f0b13a1fa332defa9a828bfc022b45a1c9264c.tar.bz2 |
loop-36.c: Reduce amount of iterations to 2 so unrolling still happens.
* gcc.dg/tree-ssa/loop-36.c: Reduce amount of iterations to 2 so unrolling
still happens.
* gcc.dg/ipa/ipacost-1.c: Prevent inlining
* gcc.dg/ipa/ipacost-2.c: Likewise.
* gcc.dg/vect/slp-3.c: Loop is no longer unrolled.
* tree-inline.c (estimate_operator_cost): Add operands;
when division happens by constant, it is cheap.
(estimate_num_insns): Loads and stores are not having cost of 0;
EH magic stuff is cheap; when computing runtime cost of switch,
use log2 base of amount of its cases; builtin_expect has cost of 0;
compute cost for moving return value of call.
(init_inline_once): Initialize time_based flags.
* tree-inline.h (eni_weights_d): Add time_based flag.
From-SVN: r147436
Diffstat (limited to 'gcc/tree-outof-ssa.c')
0 files changed, 0 insertions, 0 deletions