This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PPC64 libmvec sincos/sincosf ABI
- From: GT <tnggil at protonmail dot com>
- To: Florian Weimer <fweimer at redhat dot com>, "libc-alpha\\@sourceware.org" <libc-alpha at sourceware dot org>
- Date: Thu, 08 Aug 2019 16:56:34 +0000
- Subject: Re: PPC64 libmvec sincos/sincosf ABI
- References: <m-AhGqPevr7I_c5jF1posRA_bT8Gb8ybwyCgHJP5MbdPs1O6Yv60386A3hgYDZtEaij4iuLbqulf-JSlXj8v6mci_MNQDnHMd1mKpd1I0nI=@protonmail.com> <87blx0isku.fsf@linux.ibm.com> <423c181a-129f-662b-96cd-0940e6bda939@linux.ibm.com> <o17n2W1DqXwe_xbYdJAHVu4M5Y5KjVg-HUwQeaB1HLGk7FUCBKIEvYYO-50725OnNY2gDtfpkfHxkdd3tJMWDHAjddPcFGDNPefYX3fN-qE=@protonmail.com> <877e7nabwt.fsf@oldenburg2.str.redhat.com>
- Reply-to: GT <tnggil at protonmail dot com>
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, August 8, 2019 3:56 PM, Florian Weimer fweimer@redhat.com wrote:
> - GT:
>
> > ./tst_sincos.c: In function ‘main’:
> > ./tst_sincos.c:15:5: warning: implicit declaration of function ‘sincos’ [-Wimplicit-function-declaration]
> > sincos (a[i], &b[i], &c[i]);
> > ^~~~~~
> > ./tst_sincos.c:15:5: warning: incompatible implicit declaration of built-in function ‘sincos’
> > ./tst_sincos.c:15:5: note: include ‘<math.h>’ or provide a declaration of ‘sincos’
> > ./tst_sincos.c:2:1:
> > +#include <math.h>
>
> For sincos, you currently need to build with _GNU_SOURCE. (I don't get
> a vector call for this, though.)
Thanks for this info. I will rebuild with that macro defined. But as explained by
Bill Schmidt in this message: https://sourceware.org/ml/libc-alpha/2019-08/msg00142.html,
support is missing in ix86_veclibabi_svml for sincos, hence no vectorization for it
will occur presently.
Thanks.
Bert.