Jakub Jelinek <[email protected]> writes:
> Can you please explain how do you want to pass the
> void sincos (double, double *, double *);
> arguments? I must say it isn't entirely clear from the document.
> You talk there about double[2], but sincos certainly doesn't have such an
> argument.
The plan [1] is to return a struct instead, i.e.:
struct sincosret _ZGVbN2v_sincos (vector double);
struct sincosretf _ZGVbN4v_sincosf (vector float);
Notice however, that change is still missing [2] from the libmvec patch
series [3].
[1] https://sourceware.org/ml/libc-alpha/2019-09/msg00334.html
[2]
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/powerpc/powerpc64/fpu/multiarch/vec_s_sincosf4_vsx.c;hb=refs/heads/tuliom/libmvec
[3] https://sourceware.org/git/?p=glibc.git;a=log;h=refs/heads/tuliom/libmvec
--
Tulio Magno