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]

Re: pgcc-1.0.1 with and without haifa


On Fri, Jan 09, 1998 at 01:35:03PM -0500, Paul Koning wrote:
> ....
>  Ronald> * Replacing FDIV with FMUL where possible.
> 
> I think that is a win on just about every machine architecture ever
> created, for integer as well as float.  It may make sense as a general
> optimization rule.

gcc already does this when it can be done with the correct precision..
if you wwant it to be done for more cases (incurring a precision loss),
you should specifiy -ffast-math

      -----==-                                              |
      ----==-- _                                            |
      ---==---(_)__  __ ____  __       Marc Lehmann       +--
      --==---/ / _ \/ // /\ \/ /       pcg@goof.com       |e|
      -=====/_/_//_/\_,_/ /_/\_\                          --+
    The choice of a GNU generation                        |
                                                          |


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