This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 9/N v2] [x86_64] Vectorized math functions
- 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: Thu, 11 Dec 2014 20:04:33 +0300
- Subject: Re: [PATCH 9/N v2] [x86_64] Vectorized math functions
- Authentication-results: sourceware.org; auth=none
- References: <CAMXFM3uqG=KhwofMe7w-ToPHL0ur+apMT0sh4W82KYHyXnEEKg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1412031814590 dot 20515 at digraph dot polyomino dot org dot uk> <CAMXFM3tfBJgG7p2nYj4aQ6TmRAE0cA=rV1EsweMS8J9mw0ca8g at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1412111646590 dot 21111 at digraph dot polyomino dot org dot uk>
2014-12-11 19:48 GMT+03:00 Joseph Myers <joseph@codesourcery.com>:
> On Mon, 8 Dec 2014, Andrew Senkevich wrote:
>
>> +vlen2-arch-ext-cflags = -msse4
>> +vlen4-arch-ext-cflags = -mavx
>
> I think these variables should have names starting "double-" to reflect
> that they are for tests for double (there's no particular reason, if
> vector functions for float are added in future, for them to use the same
> flags for a given vector length as double tests; it's quite plausible
> float-vlen4 and double-vlen2 would use the same flags, being for the same
> bit-length of vectors).
Yes, I just added cosf and catch it also. May be simply
arch-ext1-cflags and arch-ext2-cflags to avoid such duplication of the
same flags?
--
WBR,
Andrew