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?


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.)

--
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)


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