Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

From: H. Peter Anvin
Date: Sat Jan 26 2013 - 16:06:23 EST


We have discussed -Ok(ernel) with the gcc guys in earnest. They are receptive but lack the round tuits.

Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

>On Sat, 2013-01-26 at 11:43 -0800, Linus Torvalds wrote:
>
>> The problem, of course, is that most -O2 code generation is done
>> assuming hot loops that don't show much if any I$ issues. And the -Os
>> thing is done *purely* for size, not taking any performance into
>> account at all. There's no balanced middle ground, which is what _we_
>> would want.
>
>Gcc needs to implement a -Olinus
>
>;-)
>
>-- Steve

--
Sent from my mobile phone. Please excuse brevity and lack of formatting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/