Patchwork [20/31] Refactor *cvt functions implementation (1/5)

login
register
mail settings
Submitter Gabriel F. T. Gomes
Date Oct. 15, 2019, 7:05 p.m.
Message ID <20191015190529.11559-21-gabriel@inconstante.net.br>
Download mbox | patch
Permalink /patch/35009/
State New
Headers show

Comments

Gabriel F. T. Gomes - Oct. 15, 2019, 7:05 p.m.
From: "Gabriel F. T. Gomes" <gabrielftg@linux.ibm.com>

This patch is to be squashed with the other n/5 refactoring patches.

I split it into these 5 patches, because even using -M<x> and -C<y>, the
patches looks as if a lot has changed, when it's basically just moving
code around.  The final commit will be the squashing of patches 1 to 5,
with the following commit message:

-- 8< --
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.
---
 misc/{efgcvt.c => efgcvt-template.c}     | 0
 misc/{efgcvt_r.c => efgcvt_r-template.c} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename misc/{efgcvt.c => efgcvt-template.c} (100%)
 rename misc/{efgcvt_r.c => efgcvt_r-template.c} (100%)

Patch

diff --git a/misc/efgcvt.c b/misc/efgcvt-template.c
similarity index 100%
rename from misc/efgcvt.c
rename to misc/efgcvt-template.c
diff --git a/misc/efgcvt_r.c b/misc/efgcvt_r-template.c
similarity index 100%
rename from misc/efgcvt_r.c
rename to misc/efgcvt_r-template.c