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 jos...@codesourcery.com