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: Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Mon, 8 Jun 2015 20:19:04 +0300
- 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 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> <alpine dot DEB dot 2 dot 10 dot 1506081302340 dot 25225 at digraph dot polyomino dot org dot uk> <CAMXFM3v5rwYFhU9rGhv5ypnM+jw4egJJLjbVbh6Tkwz46khppg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506081707580 dot 25225 at digraph dot polyomino dot org dot uk>
2015-06-08 20:08 GMT+03:00 Joseph Myers <joseph@codesourcery.com>:
> On Mon, 8 Jun 2015, Andrew Senkevich wrote:
>
>> diff --git a/NEWS b/NEWS
>> index 881e61c..5e223a1 100644
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -50,6 +50,14 @@ Version 2.22
>> * CVE-2014-8121 The NSS backends shared internal state between the getXXent
>> and getXXbyYY NSS calls for the same database, causing a denial-of-service
>> condition in some applications.
>> +
>> +* Added vector math library named libmvec with the following vectorized x86_64
>> + implementations: cos.
>> + The library can be disabled with --disable-mathvec. Use of the functions is
>> + enabled with -fopenmp -ffast-math starting from -O1 for GCC version >= 4.9.0.
>> + The library is linked in as needed when using -lm (no need to specify -lmvec
>> + explicitly).
>> + Visit <https://sourceware.org/glibc/wiki/libmvec> for detailed information.
>
> This seems reasonable as a starting point (given install.texi updated as
> well). The release manager may wish to edit the NEWS entries, of course.
Update of install.texi is:
diff --git a/manual/install.texi b/manual/install.texi
index bb09199..42ee467 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -181,6 +181,10 @@ version of GCC than this version of @theglibc{}
was tested with, so
new warnings cause the build with @option{-Werror} to fail), you can
configure with @option{--disable-werror}.
+@item --disable-mathvec
+By default for x86_64, @theglibc{} is built with vector math library.
+Use this option to disable vector math library.
+
@item --build=@var{build-system}
@itemx --host=@var{host-system}
These options are for cross-compiling. If you specify both options and
--
WBR,
Andrew