This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/4 v2] Optimized generic expf and exp2f with wrappers
On 14/09/17 12:48, Joseph Myers wrote:
> On Thu, 14 Sep 2017, Szabolcs Nagy wrote:
>
>> - sysdeps/*/w_expf.c does not work to include srcdir/math/w_expf.c
>> because the generated builddir/math/w_expf.c gets included.
>> (i'm not yet sure what the right fix for this is, i can just
>> copy the math/w_expf.c code around instead of including it
>> or use a file name that does not collide with the generated files)
>
> I'd suggest not having a srcdir/math/w_expf.c. When you need a new
> w_expf.c, put it in sysdeps/ieee754/flt-32 instead.
>
well eventually i need the w_expf.c at many places
except in sysdeps/ieee754/flt-32 where the generic
code needs no wrapping.
so i have to put it somewhere else such that the
target specific w_expf.c can include it.