This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Should -fcross-jumping be part of -O1?


On Sun, 23 Nov 2003, Scott Robert Ladd wrote:

> Jamie Lokier wrote:
> > Notably, some people say that kernels optimised for size (-Os) run 
> > _faster_ than kernels optimised for "speed" (-O2).
> 
> In my experience, -Os is generally faster than -O1, although not as fast
> as -O2. I have seen cases where -O2 is substantially *slower* than -O0
> (no optimization.)

Can you send me a testcase so I can examine it?

Toshi



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]