Another libmvect question (vectorizing sincos calls)
Joseph Myers
joseph@codesourcery.com
Tue Mar 27 22:29:00 GMT 2018
On Tue, 27 Mar 2018, Steve Ellcey wrote:
> Here is another libmvec question.  While testing on x86 I could easily make
> a loop with calls to sin, cos, log, exp, or pow and see them vectorized when
> I compile with -Ofast.  But if I try making a loop with sincos, it does not
> get vectorized.  Is that to be expected?
The sincos libmvec functions have a rather peculiar ABI; see
<https://sourceware.org/bugzilla/show_bug.cgi?id=20024>; that may not be
well-suited to vectorization in most cases. So far new exports with a
different vector ABI (and corresponding different header declarations)
have not yet been added.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc
mailing list