From: Richard Henderson Date: Sun, 26 Apr 2026 07:45:18 +0000 (+1000) Subject: fpu: Reverse the order of softfloat-parts* inclusions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47e2370dfdb2e7ae0664cd95bce2e48685697887;p=thirdparty%2Fqemu.git fpu: Reverse the order of softfloat-parts* inclusions Define the widest addition primitives first, so that they're already defined before being used by the narrower muladd primitive. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- diff --git a/fpu/softfloat.c b/fpu/softfloat.c index e5d8b9573a1..aa96ac530d0 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -1638,14 +1638,11 @@ static const uint16_t rsqrt_tab[128] = { #define FloatPartsN glue(FloatParts,N) #define FloatPartsW glue(FloatParts,W) -#define N 64 -#define W 128 +#define N 256 #include "softfloat-parts-addsub.c.inc" -#include "softfloat-parts.c.inc" #undef N -#undef W #define N 128 #define W 256 @@ -1654,9 +1651,11 @@ static const uint16_t rsqrt_tab[128] = { #undef N #undef W -#define N 256 +#define N 64 +#define W 128 #include "softfloat-parts-addsub.c.inc" +#include "softfloat-parts.c.inc" #undef N #undef W