[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] clean up CFLAGS

-O2 actually tends to be my preference too for the same reason, but I
was just rearranging the existing options.

I've certainly seen cases (prior to Xen, though) where -O3 was slower
than -O2, probably due to cache effects.

>>> On Fri, Mar 10, 2006 at  7:50 AM, in message
Andi Kleen <ak@xxxxxxx> wrote: 
> "Charles Coffing" <ccoffing@xxxxxxxxxx> writes:
>> This patch cleans up the usage of CFLAGS.  This is nice for
>> who would like to control the base compilation flags from a central
>> place.
>> I've put some default CFLAGS (- Wall - O3) 
> Are you sure - O3 is a good idea? In my experience it just bloats 
> .text for most projects because of its aggressive inlining. I would
> use - O2.
> - Andi

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.