[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 10/13] fpu: rename softfloat-specialize.h -> .inc
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v3 10/13] fpu: rename softfloat-specialize.h -> .inc.c |
Date: |
Tue, 13 Aug 2019 13:49:43 +0100 |
This is not a normal header and should only be included in the main
softfloat.c file to bring in the various target specific
specialisations. Indeed as it contains non-inlined C functions it is
not even a legal header. Rename it to match our included C convention.
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
---
fpu/{softfloat-specialize.h => softfloat-specialize.inc.c} | 0
fpu/softfloat.c | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename fpu/{softfloat-specialize.h => softfloat-specialize.inc.c} (100%)
diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.inc.c
similarity index 100%
rename from fpu/softfloat-specialize.h
rename to fpu/softfloat-specialize.inc.c
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 6bf6241710f..6e98fee48a3 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -634,7 +634,7 @@ static inline float64 float64_pack_raw(FloatParts p)
| are propagated from function inputs to output. These details are target-
| specific.
*----------------------------------------------------------------------------*/
-#include "softfloat-specialize.h"
+#include "softfloat-specialize.inc.c"
/* Canonicalize EXP and FRAC, setting CLS. */
static FloatParts sf_canonicalize(FloatParts part, const FloatFmt *parm,
--
2.20.1
- Re: [Qemu-devel] [PATCH v3 04/13] fpu: use min/max values from stdint.h for integral overflow, (continued)
- [Qemu-devel] [PATCH v3 03/13] fpu: optimise float[16/32/64]_squash_denormal (HACK?), Alex Bennée, 2019/08/13
- [Qemu-devel] [PATCH v3 07/13] fpu: remove the LIT64 macro, Alex Bennée, 2019/08/13
- [Qemu-devel] [PATCH v3 05/13] fpu: replace LIT64 with UINT64_C macros, Alex Bennée, 2019/08/13
- [Qemu-devel] [PATCH v3 06/13] target/m68k: replace LIT64 with UINT64_C macros, Alex Bennée, 2019/08/13
- [Qemu-devel] [PATCH v3 09/13] fpu: make softfloat-macros "self-contained", Alex Bennée, 2019/08/13
- [Qemu-devel] [PATCH v3 10/13] fpu: rename softfloat-specialize.h -> .inc.c,
Alex Bennée <=
- [Qemu-devel] [PATCH v3 08/13] fpu: move inline helpers into a separate header, Alex Bennée, 2019/08/13
- [Qemu-devel] [PATCH v3 11/13] target/mips: rationalise softfloat includes, Alex Bennée, 2019/08/13
- [Qemu-devel] [PATCH v3 13/13] targets (various): use softfloat-helpers.h where we can, Alex Bennée, 2019/08/13
- [Qemu-devel] [PATCH v3 12/13] target/riscv: rationalise softfloat includes, Alex Bennée, 2019/08/13
- Re: [Qemu-devel] [PATCH v3 00/13] softfloat updates (include tweaks, rm LIT64), no-reply, 2019/08/13
- Re: [Qemu-devel] [PATCH v3 00/13] softfloat updates (include tweaks, rm LIT64), no-reply, 2019/08/13
- Re: [Qemu-devel] [PATCH v3 00/13] softfloat updates (include tweaks, rm LIT64), Markus Armbruster, 2019/08/13