cvs commit: src/lib/msun/src k_cos.c k_sin.c
Bruce Evans
bde at FreeBSD.org
Tue Feb 19 04:54:15 PST 2008
bde 2008-02-19 12:54:14 UTC
FreeBSD src repository
Modified files:
lib/msun/src k_cos.c k_sin.c
Log:
Rearrange the polynomial evaluation for better parallelism. This
saves an average of about 8 cycles or 5% on A64 (amd64 and i386 --
more in cycles but about the same percentage on i386, and more with
old versions of gcc) with good CFLAGS and some parallelism in the
caller. As usual, it takes a couple more multiplications so it will
be slower on old machines.
Convert to __FBSDID().
Revision Changes Path
1.12 +4 -4 src/lib/msun/src/k_cos.c
1.11 +5 -5 src/lib/msun/src/k_sin.c
More information about the cvs-src
mailing list