[PATCH v3] MIPSr6/math: Use builtin fma and fmaf
Philippe Mathieu-Daudé
philmd@linaro.org
Thu Jun 6 07:07:02 GMT 2024
On 4/6/24 03:31, YunQiang Su wrote:
> From: YunQiang Su <syq@gcc.gnu.org>
>
> MIPSr6 has MADDF.s/MADDF.d instructions, which are fused.
>
> In MIPS ISA, double support can be subsetted. Only FMAF is enabled
> for this case.
>
> * sysdeps/mips/fpu/math-use-builtins-fma.h
>
> Signed-off-by: YunQiang Su <syq@gcc.gnu.org>
> ---
> sysdeps/mips/fpu/math-use-builtins-fma.h | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
> create mode 100644 sysdeps/mips/fpu/math-use-builtins-fma.h
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
More information about the Libc-alpha
mailing list