[v3] Possible fix for PR 5730

jlquinn@optonline.net jlquinn@optonline.net
Wed Mar 19 17:07:00 GMT 2003



----- Original Message -----
From: Paolo Carlini <pcarlini@unitus.it>
Date: Wednesday, March 19, 2003 9:18 am
Subject: Re: [v3] Possible fix for PR 5730

> Jerry Quinn wrote:
> 
> >I just tried the test case comparing gcc 2.95 and 3.3 branch.  The 
> gap is now
> >smaller than the reporter saw, but it is there:
> >
> >gcc 2.95     1.2s
> >gcc 3.3             1.6s
> >  
> >
> ...
> 
> >Anyway, I thought that if the more accurate answer is required, 
> the faster
> >solution could still be used under --fast-math.  Opinions?
> >
> Hi Jerry,
> The most obvious curiosity: does the alternate code close the gap? 
> Is 
> that the very same code actually used
> in v2 and therefore the answer trivially positive?

Yes.  In fact, 3.3 generates faster code than 2.95, using the simple function.

Jerry





More information about the Libstdc++ mailing list