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: GCC and Floating-Point


On Fri, 2005-05-27 at 12:47 +0200, Vincent Lefevre wrote:
> On 2005-05-26 09:14:40 -0400, Daniel Berlin wrote:
> > On Thu, 26 May 2005, Vincent Lefevre wrote:
> > >On 2005-05-25 19:27:21 +0200, Allan Sandfeld Jensen wrote:
> > >>Yes. I still don't understand why gcc doesn't do -ffast-math by
> > >>default like all other compilers.
> > >
> > >No! And I really don't think that other compilers do that.
> > 
> > Have you looked, or are you just guessing?
> 
> Just guessing (I said "I don't think").
> 
> > I know for a fact that XLC does it at -O3+, and unless i'm 
> > misremembering, icc does it at -O2+.
> 
> But do they use -O3 and -O2 by default?

ICC does, yes.
I don't remember the XLC default opt level.
As someone else pointed out, DEC, HP,etc, do this stuff by default too.



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