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: [PATCH] powerpc: Add a POWER8-optimized version of powf()


On Fri, 2 Jun 2017, Wilco Dijkstra wrote:

> >> As it happens Szabolcs wrote a prototype powf that is not only more 
> >> accurate but also 4x faster, all using generic code. With these 
> >> gains, target specific math functions will be obsolete...
> >
> > Is that forthcoming?
> 
> Yes - after they are published under a less restrictive license. In 
> GLIBC we'll need to agree on how to deal with the wrappers and establish 
> a good place to add new math functions.

It's fine to put float functions implemented using double internally in 
sysdeps/ieee754/flt-32; some already use double internally.  For functions 
not using type-generic templates, the sysdeps/ieee754 structure seems 
reasonable to me (given the need to handle different long double formats), 
although code outside there may also assume that float is binary32 and 
double is binary64.

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