This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another libmvect question (vectorizing sincos calls)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]