From patchwork Mon Jun 8 16:07:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Senkevich X-Patchwork-Id: 7074 Received: (qmail 5469 invoked by alias); 8 Jun 2015 16:07:45 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 5278 invoked by uid 89); 8 Jun 2015 16:07:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f46.google.com X-Received: by 10.112.180.201 with SMTP id dq9mr18330844lbc.78.1433779659751; Mon, 08 Jun 2015 09:07:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Andrew Senkevich Date: Mon, 8 Jun 2015 19:07:09 +0300 Message-ID: Subject: Re: [PATCH 1/14] [x86_64] Vector math functions (vector cos) To: Joseph Myers Cc: libc-alpha 2015-06-08 16:06 GMT+03:00 Joseph Myers : > 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 . >> + 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. I have prepared wiki page and put link to it. --- WBR, Andrew 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 for detailed information. ^L Version 2.21