This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: PPC64 libmvec sincos/sincosf ABI


On Tue, 6 Aug 2019, Wilco Dijkstra wrote:

> I don't think it is related to the target - the fastest ABI is one that avoids
> unnecessary work. For example scalar sincos is slow due to the inefficient
> ABI which forces the results through memory (fixing that gives a 50% speedup). 

At the scalar API level this is an argument for the previously discussed 
idea of adding cexpi functions to <complex.h> (as a GNU extension and 
potentially something proposed for standardization).

You'd then have the question of what the API and ABI should look like for 
declaring to the compiler that cexpi has certain corresponding vector 
functions available.

-- 
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]