Refactor *cvt functions implementation (1/2)
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Thu, 11 Jul 2019 14:48:08 +0000 (11:48 -0300)
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Mon, 23 Dec 2019 19:30:24 +0000 (16:30 -0300)
commite18a305777adf60c2378ac864a350319269a29fa
treebfcc2067d12d938016ef7545faa52bcb24310400
parent57e687c6d459edba77efe360014d4adec97d1a5c
Refactor *cvt functions implementation (1/2)

This patch refactors the *cvt functions implementation in a way that
makes it easier to re-use them for implementing the IEEE long double on
powerpc64le.  By splitting the implementation per se in one file
(efgcvt-template.c) and the alias definitions in others (e.g. efgcvt.c),
the new code makes it easier to define new function names, such as
__qecvtieee128.

Tested that installed stripped binaries for all build-many-glibcs
targets remain identical before and after this patch.  Also tested for
powerpc64le and x86_64.

Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
misc/efgcvt-dbl-macros.h [new file with mode: 0644]
misc/efgcvt-ldbl-macros.h [new file with mode: 0644]
misc/efgcvt-template.c [new file with mode: 0644]
misc/efgcvt.c
misc/efgcvt_r-template.c [new file with mode: 0644]
misc/efgcvt_r.c
misc/qefgcvt.c
misc/qefgcvt_r.c