fpu: Drop QEMU_FLATTEN from muladd routines
The float16, bfloat16 and float128 paths are not so important that they require forced optimization. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Richard Henderson committed
Apr 26, 2026 at 12:23 UTC
a93d4778997c2ae6e685de6a7e95e5241feed024
1 file changed
+6
-7
fpu/softfloat.c
+6
-7
@@ -1900,9 +1900,8 @@ floatx80_mul(floatx80 a, floatx80 b, float_status *status)
1900
* Fused multiply-add
1901
*/
1902
1903
-float16 QEMU_FLATTEN
1904
-float16_muladd_scalbn(float16 a, float16 b, float16 c,
1905
- int scale, int flags, float_status *status)
1903
+float16 float16_muladd_scalbn(float16 a, float16 b, float16 c,
1904
+ int scale, int flags, float_status *status)
1905
{
1906
FloatParts64 pa = float16_unpack_canonical(a, status);
1907
FloatParts64 pb = float16_unpack_canonical(b, status);
@@ -2126,8 +2125,8 @@ float64 float64r32_muladd(float64 a, float64 b, float64 c,
2125
return float64r32_pack_raw(pr);
2126
}
2127
2129
-bfloat16 QEMU_FLATTEN bfloat16_muladd(bfloat16 a, bfloat16 b, bfloat16 c,
2130
- int flags, float_status *status)
2128
+bfloat16 bfloat16_muladd(bfloat16 a, bfloat16 b, bfloat16 c,
2129
+ int flags, float_status *status)
2130
{
2131
FloatParts64 pa = bfloat16_unpack_canonical(a, status);
2132
FloatParts64 pb = bfloat16_unpack_canonical(b, status);
@@ -2142,8 +2141,8 @@ bfloat16 QEMU_FLATTEN bfloat16_muladd(bfloat16 a, bfloat16 b, bfloat16 c,
2141
return pack_raw64(pr, &bfloat16_params);
2142
}
2143
2145
-float128 QEMU_FLATTEN float128_muladd(float128 a, float128 b, float128 c,
2146
- int flags, float_status *status)
2144
+float128 float128_muladd(float128 a, float128 b, float128 c,
2145
+ int flags, float_status *status)
2146
{
2147
FloatParts128 pa = float128_unpack_canonical(a, status);
2148
FloatParts128 pb = float128_unpack_canonical(b, status);