[PATCH] Update ulps on i386/s390{,x} for GCC 3.4
Jakub Jelinek
jakub@redhat.com
Fri Jun 11 16:33:00 GMT 2004
On Fri, Jun 11, 2004 at 06:17:06PM +0200, Martin Schwidefsky wrote:
> > ... and GCC 3.4 compiled libm on s390/s390x
> > fails a bunch of tests for exceptions being raised/not-raised on NaN/Inf
> > arguments in test-double (e.g. sqrt (NaN)).
> > Will look into that next.
> The reason for this is the generic implementation of __ieee754_sqrt.
> I side stepped the problem by defining s390 specific function that
> use the hardware instructions. See:
>
> http://sources.redhat.com/ml/libc-alpha/2004-04/msg00119.html
See my later patch which fixes this.
That is not to say it isn't good to switch to hw sqrt on s390{,x}
(assuming that it is faster than the generic one and precise).
Though, I don't think we should be actually removing ulps allowances
for older GCCs as long as we still support them.
Jakub
More information about the Libc-hacker
mailing list