Merge common usage of mul_split function
commit4482ff226e4b286ab171f3c5841ae1f7e61780cd
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Mon, 8 Aug 2016 20:58:28 +0000 (8 15:58 -0500)
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Fri, 19 Aug 2016 16:29:43 +0000 (19 11:29 -0500)
tree69bf06744f290b3656ad238c0b5dd700c850f9e9
parent01ee387015a2075c45a4e1ad45d39e50b5a6d40b
Merge common usage of mul_split function

A number of files share identical code for the
mul_split function.

This moves the duplicated function mul_split into its
own header, and refactors the fma usage into a single
selection macro.  Likewise, mul_split when used by a
long double implementation is renamed mul_splitl for
clarity.
14 files changed:
ChangeLog
math/mul_split.h [copied from sysdeps/ieee754/dbl-64/gamma_product.c with 60% similarity]
math/mul_splitl.h [copied from sysdeps/ieee754/ldbl-128/gamma_productl.c with 57% similarity]
sysdeps/ieee754/dbl-64/gamma_product.c
sysdeps/ieee754/dbl-64/lgamma_product.c
sysdeps/ieee754/dbl-64/x2y2m1.c
sysdeps/ieee754/ldbl-128/gamma_productl.c
sysdeps/ieee754/ldbl-128/lgamma_productl.c
sysdeps/ieee754/ldbl-128/x2y2m1l.c
sysdeps/ieee754/ldbl-128ibm/s_fmal.c
sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c
sysdeps/ieee754/ldbl-96/gamma_productl.c
sysdeps/ieee754/ldbl-96/lgamma_productl.c
sysdeps/ieee754/ldbl-96/x2y2m1l.c