This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Combine four insns
Steven Bosscher <stevenb.gcc@gmail.com> writes:
> On Tue, Aug 10, 2010 at 4:39 PM, Richard Guenther
> <richard.guenther@gmail.com> wrote:
>> You could enable the heuristic with optimize < 3 && !optimize_size
>> (thus keep combining everything at -O3 and -Os).
>
> Better s/optimize_size/optimize_bb_for_size(BLOCK_FOR_INSN (i0))/
That would mean that a -O2 build where all BBs are cold for some
reason would be 1% slower, right?
To be honest I didn't fully understand why it's ok for -Os
to be 1% slower. A lot of people use -Os.
It seems more like a -O3 only thing for me.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.