Should -fcross-jumping be part of -O1?

Paul Jarc prj@po.cwru.edu
Wed Dec 3 16:02:00 GMT 2003


Scott Robert Ladd <coyote@coyotegulch.com> wrote:
>    * compilation speed (-Ospeed)
>    * debugability      (-Odebug)
>    * code size	      (-Osize)
>    * execution speed   (-Ofast)
>    * FP accuracy       (-Oaccuracy)
>
> The switches would be weighted; for example, specifying -Osize=0
> -Ospeed=2 -Oaccuracy=3 would request the highest-accuracy, with speed as
> a secondary consideration, and no concern for code size.

I think "time" might be less confusing than "speed".

Do we really need to weight the dimensions, or is it enough to rank
them?  If we can say "accuracy is more important than compilation
time, which is more important than debuggability and execution speed
(which are of eqqual importance), which are more important than code
size", would that give us enough of a semantic range?


paul



More information about the Gcc mailing list