Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
- Date: Sun, 24 Jun 2007 17:23:42 -0700
On Sun, 2007-06-24 at 20:12 -0400, Benjamin LaHaise wrote:
On Sun, Jun 24, 2007 at 05:09:16PM -0700, Arjan van de Ven wrote:
if you care about the last cycle, don't specify -Os but -O2.
simple as that... you get what you tell the compiler you want.
Certain distros are shipping kernels compiled with -Os. And it's more
than just a couple of cycles.
so those distros pick space over some cycles. Who are you to then
override that choice ? ;-)
seriously, why are we even talking about overriding a choice the user
(or distro vendor as user) made here?
--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
-
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/
- Follow-Ups:
- -Os versus -O2
- From: Adrian Bunk
- -Os versus -O2
- References:
- [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: Denis Cheng
- Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: Oleg Verych
- Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: rae l
- Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: Oleg Verych
- Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: Arjan van de Ven
- Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: Benjamin LaHaise
- Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: Arjan van de Ven
- Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- From: Benjamin LaHaise
- [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- Prev by Date: Re: [PATCH] x86-64: disable the GART in shutdown
- Next by Date: Re: SATA RAID5 speed drop of 100 MB/s
- Previous by thread: Re: [PATCH] trivial: the memset operation on a automatic array variable should be optimized out by data initialization
- Next by thread: -Os versus -O2
- Index(es):
Relevant Pages
|