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?


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


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