[1/14,x86_64] Vector math functions (vector cos)
Commit Message
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:
These options are for cross-compiling. If you specify both options and
--
WBR,
Andrew
Comments
On Mon, 8 Jun 2015, Andrew Senkevich wrote:
> Update of install.texi is:
OK (remembering the regeneration of INSTALL when you commit).
@@ -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}