Define the widest addition primitives first, so that
they're already defined before being used by the
narrower muladd primitive.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
fpu/softfloat.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index e5d8b9573a..aa96ac530d 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
--
2.43.0