Re: Compiling 2.2.19 with -O3 flag

From: Christoph Hellwig (hch@infradead.org)
Date: Fri May 24 2002 - 13:00:12 EST


On Fri, May 24, 2002 at 10:55:20AM -0700, Robert Love wrote:
> I know this...maybe I am not being clear. I realize -Os is a derivate
> of -O2, but is it not an interesting note if -Os can be as fast (or
> faster) than -O2 and still generate smaller binaries? That is my point.

I've seen it beeing faster with gcc 2.95. Alan's point was (and I think
the explanation is plausible) is that it is faster exactly _because_ it
produces smaller code due to the instruction cache behaviour of many
current CPUs.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:13 EST