diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2017-09-12 12:44:18 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2017-10-02 14:38:54 +0100 |
commit | f7a0b063e7fc81d0eff1e8b2b169876bdfb4cc44 (patch) | |
tree | 9ef1f2bc0a65970f29606ab90348159a8e67cc35 /ChangeLog | |
parent | 72d3d281080be9f674982067d72874fd6cdb4b64 (diff) | |
download | glibc-f7a0b063e7fc81d0eff1e8b2b169876bdfb4cc44.zip glibc-f7a0b063e7fc81d0eff1e8b2b169876bdfb4cc44.tar.gz glibc-f7a0b063e7fc81d0eff1e8b2b169876bdfb4cc44.tar.bz2 |
Do not wrap expf and exp2f
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.
(If the wrapper is needed, then the top level wrapper code is included,
otherwise empty w_exp*f.c is used to suppress the wrapper.)
A powerpc64 expf implementation includes the expf c code directly which
needed some changes.
* 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/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
* sysdeps/m68k/m680x0/fpu/w_exp2f.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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,4 +1,22 @@ 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com> + H.J. Lu <hongjiu.lu@intel.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/powerpc/powerpc64/power8/fpu/w_expf.c: New file. + * sysdeps/m68k/m680x0/fpu/w_exp2f.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. + +2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com> * math/Versions (logf): New libm symbol at GLIBC_2.27. (log2f): Likewise. |