[PATCH 4/4] Do not wrap expf and exp2f

Szabolcs Nagy szabolcs.nagy@arm.com
Wed Sep 13 10:48:00 GMT 2017


The new generic expf and exp2f code don't need wrappers any
more, they set errno inline, so only use the wrappers on
targets that need it. (The top level wrapper code is included
into sysdeps dirs where the wrapper is needed and empty
w_exp*f.c where the wrapper is suppressed).

A powerpc64 expf implementation includes the expf c code
directly which needed some changes.

2017-09-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
	* sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
	* sysdeps/ieee754/flt-32/w_exp2f.c: New file.
	* sysdeps/ieee754/flt-32/w_expf.c: New file.
	* sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
	the new expf code.
	* sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
	* sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
	* sysdeps/i386/fpu/w_exp2f.c: New file.
	* sysdeps/i386/fpu/w_expf.c: New file.
	* sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
	* sysdeps/x86_64/fpu/w_expf.c: New file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-no-wrapper.patch
Type: text/x-patch
Size: 5324 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170913/13b34904/attachment.bin>


More information about the Libc-alpha mailing list