Mail Archives: djgpp/1997/03/01/12:55:54
On 1 Mar 1997 10:20:14 GMT nikki AT gameboutique DOT co (nikki) writes:
>> Is it possible that with the -O3 option, the compiler sees that
>these are
>> indeed constant iteration loops, and unrolls them itself? Try it
>with -O0
>> option, because this should turn off all optimisation. -O3 is the
>highest
>> level of optimisation available.
>
>i'm fairly sure o3 doesn't unroll loops, or at least it's never
>unrolled any
>of mine ;) you can also use o4 no? at least i thought you could..
AFAIK, O3 is the highest (anything higher simply defaults to O3 {the
Linux kernel is compiled with O6, isn't it?}).
>From the Info pages on gcc:
'-O3'
Optimize yet more. '-O3' turns on all optimizations specified by
'-O2' and also turns on the 'inline-functions' option.
That's all it says.
...Chambers
- Raw text -