This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] Possible fix for PR 5730
- From: jlquinn at optonline dot net
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 19 Mar 2003 12:07:15 -0500
- Subject: Re: [v3] Possible fix for PR 5730
----- Original Message -----
From: Paolo Carlini <pcarlini at unitus dot 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