From 887a4ca5b04ffa80ff2e20286e382eee9e5658d6 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Tue, 20 Nov 2012 23:10:51 +0000 Subject: [PATCH] aarch64: Rename .x files to .c --- ports/ChangeLog.aarch64 | 19 +++++++++++++++++++ ports/sysdeps/aarch64/fpu/s_ceil.c | 2 +- ports/sysdeps/aarch64/fpu/s_ceilf.c | 2 +- ports/sysdeps/aarch64/fpu/s_floor.c | 2 +- ports/sysdeps/aarch64/fpu/s_floorf.c | 2 +- ports/sysdeps/aarch64/fpu/{s_frint.x => s_frint.c} | 0 ports/sysdeps/aarch64/fpu/{s_frintf.x => s_frintf.c} | 2 +- ports/sysdeps/aarch64/fpu/s_nearbyint.c | 2 +- ports/sysdeps/aarch64/fpu/s_nearbyintf.c | 2 +- ports/sysdeps/aarch64/fpu/s_rint.c | 4 ++-- ports/sysdeps/aarch64/fpu/s_rintf.c | 2 +- ports/sysdeps/aarch64/fpu/s_round.c | 2 +- ports/sysdeps/aarch64/fpu/s_roundf.c | 2 +- ports/sysdeps/aarch64/fpu/s_trunc.c | 2 +- ports/sysdeps/aarch64/fpu/s_truncf.c | 2 +- 15 files changed, 33 insertions(+), 14 deletions(-) rename ports/sysdeps/aarch64/fpu/{s_frint.x => s_frint.c} (100%) rename ports/sysdeps/aarch64/fpu/{s_frintf.x => s_frintf.c} (97%) diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64 index 403223c..2a7bfc3 100644 --- a/ports/ChangeLog.aarch64 +++ b/ports/ChangeLog.aarch64 @@ -1,5 +1,24 @@ 2012-11-20 Marcus Shawcroft + * sysdeps/aarch64/fpu/s_frint.x: Renamed to... + * sysdeps/aarch64/fpu/s_frint.c: ... this new file. + * sysdeps/aarch64/fpu/s_frintf.x: Renamed to... + * sysdeps/aarch64/fpu/s_frintf.c: ... this new file. + * sysdeps/aarch64/fpu/s_ceil.c: Include s_frint.c. + * sysdeps/aarch64/fpu/s_floor.c: Likewise. + * sysdeps/aarch64/fpu/s_nearbyint.c: Likewise. + * sysdeps/aarch64/fpu/s_rint.c: Likewise. + * sysdeps/aarch64/fpu/s_round.c: Likewise. + * sysdeps/aarch64/fpu/s_trunc.c: Likewise. + * sysdeps/aarch64/fpu/s_ceilf.c: Include s_frintf.c. + * sysdeps/aarch64/fpu/s_floorf.c: Likewise. + * sysdeps/aarch64/fpu/s_nearbyintf.c: Likewise. + * sysdeps/aarch64/fpu/s_rintf.c: Likewise. + * sysdeps/aarch64/fpu/s_roundf.c: Likewise. + * sysdeps/aarch64/fpu/s_truncf.c: Likewise. + +2012-11-20 Marcus Shawcroft + * sysdeps/aarch64/fpu/s_fma.c (__CONCATX): Don't use K&R. * sysdeps/aarch64/fpu/s_fmin.c (__CONCATX): Likewise. * sysdeps/aarch64/fpu/s_lrint.c (__CONCATX): Likewise. diff --git a/ports/sysdeps/aarch64/fpu/s_ceil.c b/ports/sysdeps/aarch64/fpu/s_ceil.c index 087b9b4..9fe7ced 100644 --- a/ports/sysdeps/aarch64/fpu/s_ceil.c +++ b/ports/sysdeps/aarch64/fpu/s_ceil.c @@ -18,4 +18,4 @@ #define FUNC ceil #define INSN "frintp" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_ceilf.c b/ports/sysdeps/aarch64/fpu/s_ceilf.c index e503f99..a20a972 100644 --- a/ports/sysdeps/aarch64/fpu/s_ceilf.c +++ b/ports/sysdeps/aarch64/fpu/s_ceilf.c @@ -18,4 +18,4 @@ #define FUNC ceilf #define INSN "frintp" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_floor.c b/ports/sysdeps/aarch64/fpu/s_floor.c index 3f914b6..216d472 100644 --- a/ports/sysdeps/aarch64/fpu/s_floor.c +++ b/ports/sysdeps/aarch64/fpu/s_floor.c @@ -18,4 +18,4 @@ #define FUNC floor #define INSN "frintm" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_floorf.c b/ports/sysdeps/aarch64/fpu/s_floorf.c index f5452c5..debf00d 100644 --- a/ports/sysdeps/aarch64/fpu/s_floorf.c +++ b/ports/sysdeps/aarch64/fpu/s_floorf.c @@ -18,4 +18,4 @@ #define FUNC floorf #define INSN "frintm" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_frint.x b/ports/sysdeps/aarch64/fpu/s_frint.c similarity index 100% rename from ports/sysdeps/aarch64/fpu/s_frint.x rename to ports/sysdeps/aarch64/fpu/s_frint.c diff --git a/ports/sysdeps/aarch64/fpu/s_frintf.x b/ports/sysdeps/aarch64/fpu/s_frintf.c similarity index 97% rename from ports/sysdeps/aarch64/fpu/s_frintf.x rename to ports/sysdeps/aarch64/fpu/s_frintf.c index 8ce97df..873addc 100644 --- a/ports/sysdeps/aarch64/fpu/s_frintf.x +++ b/ports/sysdeps/aarch64/fpu/s_frintf.c @@ -21,4 +21,4 @@ #endif #define TYPE float #define REGS "s" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_nearbyint.c b/ports/sysdeps/aarch64/fpu/s_nearbyint.c index 11fcd01..a0b3105 100644 --- a/ports/sysdeps/aarch64/fpu/s_nearbyint.c +++ b/ports/sysdeps/aarch64/fpu/s_nearbyint.c @@ -18,4 +18,4 @@ #define FUNC nearbyint #define INSN "frinti" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_nearbyintf.c b/ports/sysdeps/aarch64/fpu/s_nearbyintf.c index 8d6af83..5e964f8 100644 --- a/ports/sysdeps/aarch64/fpu/s_nearbyintf.c +++ b/ports/sysdeps/aarch64/fpu/s_nearbyintf.c @@ -18,4 +18,4 @@ #define FUNC nearbyintf #define INSN "frinti" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_rint.c b/ports/sysdeps/aarch64/fpu/s_rint.c index 7f37f7c..1b0ae90 100644 --- a/ports/sysdeps/aarch64/fpu/s_rint.c +++ b/ports/sysdeps/aarch64/fpu/s_rint.c @@ -16,6 +16,6 @@ License along with the GNU C Library; if not, see . */ -#define FUNC rint +#define FUNC rint #define INSN "frintx" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_rintf.c b/ports/sysdeps/aarch64/fpu/s_rintf.c index 2d7832a..1d27189 100644 --- a/ports/sysdeps/aarch64/fpu/s_rintf.c +++ b/ports/sysdeps/aarch64/fpu/s_rintf.c @@ -18,4 +18,4 @@ #define FUNC rintf #define INSN "frintx" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_round.c b/ports/sysdeps/aarch64/fpu/s_round.c index 71ec254..70b50a8 100644 --- a/ports/sysdeps/aarch64/fpu/s_round.c +++ b/ports/sysdeps/aarch64/fpu/s_round.c @@ -18,4 +18,4 @@ #define FUNC round #define INSN "frinta" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_roundf.c b/ports/sysdeps/aarch64/fpu/s_roundf.c index 919a752..74b81ad 100644 --- a/ports/sysdeps/aarch64/fpu/s_roundf.c +++ b/ports/sysdeps/aarch64/fpu/s_roundf.c @@ -18,4 +18,4 @@ #define FUNC roundf #define INSN "frinta" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_trunc.c b/ports/sysdeps/aarch64/fpu/s_trunc.c index caf7ec1..cd22762 100644 --- a/ports/sysdeps/aarch64/fpu/s_trunc.c +++ b/ports/sysdeps/aarch64/fpu/s_trunc.c @@ -18,4 +18,4 @@ #define FUNC trunc #define INSN "frintz" -#include +#include diff --git a/ports/sysdeps/aarch64/fpu/s_truncf.c b/ports/sysdeps/aarch64/fpu/s_truncf.c index 3cbba72..f81bd50 100644 --- a/ports/sysdeps/aarch64/fpu/s_truncf.c +++ b/ports/sysdeps/aarch64/fpu/s_truncf.c @@ -18,4 +18,4 @@ #define FUNC truncf #define INSN "frintz" -#include +#include -- 2.7.4