Move w_exp to libm-compat-call-auto
commit5ab621c3476fef993f94975c826fd0fe3339c3e2
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Mon, 30 Jan 2017 19:01:05 +0000 (30 17:01 -0200)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Wed, 8 Feb 2017 19:44:20 +0000 (8 17:44 -0200)
treec25219251d4847ee772abdfe09d7295d039d8b54
parent163f65e28c22d60a72726b8f07ed5756da05c929
Move w_exp to libm-compat-call-auto

This patch adds the "_compat" suffix to the wrappers of the function
exp, which use _LIB_VERSION / matherr / __kernel_standard
functionality.

Tested for powerpc64le, s390, and x86_64.

* math/Makefile (libm-calls): Move w_exp...
(libm-compat-calls-auto): Here.

* math/w_expl.c: Add suffix "_compat" to filename.
* sysdeps/ia64/fpu/w_expl.c: Likewise.
* sysdeps/ia64/fpu/w_expf.c: Likewise.
* sysdeps/ia64/fpu/w_exp.c: Likewise.
* sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
* sysdeps/ieee754/flt-32/w_expf.c: Likewise.
* sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
* sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.

* math/w_expl_compat.c: New file, copied from above.
* sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
* sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
* sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
* sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
* sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
* sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
* sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.

* sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
to filename.
* sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.

* sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
copied from above and adjusted for the new filenames.
* sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
13 files changed:
ChangeLog
math/Makefile
math/w_expl_compat.c [moved from math/w_expl.c with 100% similarity]
sysdeps/ia64/fpu/w_exp_compat.c [moved from sysdeps/ia64/fpu/w_exp.c with 100% similarity]
sysdeps/ia64/fpu/w_expf_compat.c [moved from sysdeps/ia64/fpu/w_expf.c with 100% similarity]
sysdeps/ia64/fpu/w_expl_compat.c [moved from sysdeps/ia64/fpu/w_expl.c with 100% similarity]
sysdeps/ieee754/dbl-64/w_exp_compat.c [moved from sysdeps/ieee754/dbl-64/w_exp.c with 100% similarity]
sysdeps/ieee754/flt-32/w_expf_compat.c [moved from sysdeps/ieee754/flt-32/w_expf.c with 100% similarity]
sysdeps/ieee754/ldbl-128/w_expl_compat.c [moved from sysdeps/ieee754/ldbl-128/w_expl.c with 100% similarity]
sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c [moved from sysdeps/ieee754/ldbl-128ibm/w_expl.c with 100% similarity]
sysdeps/ieee754/ldbl-64-128/w_expl_compat.c [moved from sysdeps/ieee754/ldbl-64-128/w_expl.c with 67% similarity]
sysdeps/ieee754/ldbl-96/w_expl_compat.c [moved from sysdeps/ieee754/ldbl-96/w_expl.c with 100% similarity]
sysdeps/ieee754/ldbl-opt/w_exp_compat.c [moved from sysdeps/ieee754/ldbl-opt/w_exp.c with 71% similarity]