This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/14] [x86_64] Vector math functions (vector cos)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Mon, 8 Jun 2015 13:06:34 +0000
- Subject: Re: [PATCH 1/14] [x86_64] Vector math functions (vector cos)
- Authentication-results: sourceware.org; auth=none
- References: <CAMXFM3t+v7zYEmvWQxV9aRmJB6Ag2hQgQ56cZJTDy=siRBszDw at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505151616460 dot 21212 at digraph dot polyomino dot org dot uk> <CAMXFM3tfZKDJtjhJ1d=LQ=WALJBBx5ABJXoS5ycBORii78FkEg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505181711240 dot 20209 at digraph dot polyomino dot org dot uk> <CAMXFM3vG=5KVLuG4HJ6StDp13YcpeRLqPkd=3BJhGt1mu5AWPA at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505201529070 dot 23246 at digraph dot polyomino dot org dot uk> <CAMXFM3u57e==ySd8TF7+qFwmrswcT1jqzcN-n_JDPF45+77Z0g at mail dot gmail dot com> <CAMXFM3uuDy3f2hb3Xg+MNmseqjmBFqUF1euRF_g5XW+wo7JSSQ at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505221523570 dot 16611 at digraph dot polyomino dot org dot uk> <CAMXFM3sXNLR3_HPpkUBp_9Ue=-RYZYoidbCwP23Cp9HX_X+t5A at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506041649010 dot 12011 at digraph dot polyomino dot org dot uk> <CAMXFM3uCXy6WS6xDNzWhjdHYAfYUen3srj1RdpBsb1vCfB_25Q at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506051642580 dot 26931 at digraph dot polyomino dot org dot uk> <CAMXFM3tFo1KU3y-55zzWVdT9GAG_ND15_ZwGNkZQVp2TCoBgJA at mail dot gmail dot com>
On Mon, 8 Jun 2015, Andrew Senkevich wrote:
> +* Added vector math library named libmvec with the following vectorized x86_64
> + implementations: cos.
> + Naming of x86_64 implementations is in accordance with
> + Vector ABI <https://groups.google.com/forum/#!topic/x86-64-abi/LmppCfN1rZ4>.
> + Vector math library build and ABI testing enabled by default for x86_64.
I don't think the NEWS file should point to a site requiring non-free
JavaScript; host a copy of the ABI somewhere else (maybe on the glibc
wiki).
I think the NEWS file needs to give information from the perspective of
people building and using glibc. That includes: the library can be
disabled with --disable-mathvec (the configure option also needs
documenting in manual/install.texi, with INSTALL being regenerated); use
of the functions is enabled with -fopenmp -ffast-math -O3 (or whatever)
and the library is linked in as needed when using -lm rather than needing
to specify -lmvec explicitly.
--
Joseph S. Myers
joseph@codesourcery.com