[PATCH] use hw instructions for ieee754_sqrt on s390.
Ulrich Drepper
drepper@redhat.com
Thu Jun 17 23:52:00 GMT 2004
Martin Schwidefsky wrote:
> use the hardware square root instructions sqdbr and sqebr
> for __ieee754_sqrt and __ieee754_sqrtf. They are faster
> than the generic C implementation.
I can do it even faster:
double sqrt(double x) { return 1.0; }
I.e., what about the accuracz of the proposed code? If it is not up to
the same level, create an inline version in <bits/mathinline.h>.
--
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
More information about the Libc-alpha
mailing list