This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 13/14] [x86_64] Vector math functions (sincos and tests)
- From: Anton Blanchard <anton at samba dot org>
- To: Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>, sjmunroe at us dot ibm dot com, tuliom at linux dot vnet dot ibm dot com
- Date: Fri, 19 Jun 2015 07:55:46 +1000
- Subject: Re: [PATCH 13/14] [x86_64] Vector math functions (sincos and tests)
- Authentication-results: sourceware.org; auth=none
- References: <CAMXFM3t4CRSW2pRELmJMU5bE0eoYfUx7pO2-iLqLiGvgE79d_A at mail dot gmail dot com>
Hi Andrew,
> here is implementation of vectorized sincos containing SSE, AVX,
> AVX2 and AVX512 versions according to Vector ABI
> <https://groups.google.com/forum/#!topic/x86-64-abi/LmppCfN1rZ4>.
This breaks powerpc64 builds, in sysdeps/ieee754/ldbl-opt/s_sin.c:
#define sincos sincos_disable
Which means we end up with:
__DECL_SIMD_sincos_disable extern void sincos_disable (double __x,
double *__sinx, double *__cosx) __attribute__ ((__nothrow__ )); extern void __sincos_disable (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__ ))
;
Regards,
Anton