]> git.ipfire.org Git - thirdparty/glibc.git/commit
RISC-V: Use builtin for fma and fmaf
authorJulian Zhu <jz531210@gmail.com>
Wed, 11 Sep 2024 07:13:19 +0000 (15:13 +0800)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 25 Nov 2024 19:45:59 +0000 (16:45 -0300)
commit32445b6dd2d23bd303dbb66fa3c7d0179c19dc76
tree368c8cafc3c46ae8b548cf38a7cdced98c40da48
parentd2264de5db00549786afc2759c99de1a1531c550
RISC-V: Use builtin for fma and fmaf

The built-in functions `builtin_{fma, fmaf}` are sufficient to generate correct `fmadd.d`/`fmadd.s` instructions on RISC-V.

Signed-off-by: Julian Zhu <jz531210@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/riscv/rvd/math-use-builtins-fma.h [new file with mode: 0644]
sysdeps/riscv/rvd/s_fma.c [deleted file]
sysdeps/riscv/rvf/s_fmaf.c [deleted file]