]> git.ipfire.org Git - thirdparty/glibc.git/commit
powerpc: fma using builtins
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 20 Mar 2019 04:14:28 +0000 (04:14 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 17 Apr 2019 18:14:53 +0000 (15:14 -0300)
commit3a16dd780eeba60266d75e4a562536cc0785bc4e
tree57c7950840936d10e886dec25e25a329f0b4d183
parent1dac8bd6f23d574c841982a17e984111dc8366d7
powerpc: fma using builtins

This patch just refactor the assembly implementation to use compiler
builtins instead.

Checked on powerpc-linux-gnu (built without --with-cpu, with
--with-cpu=power4 and with --with-cpu=power5+ and --disable-multi-arch),
powerpc64-linux-gnu (built without --with-cp and with --with-cpu=power5+
and --disable-multi-arch).

* sysdeps/powerpc/fpu/s_fma.S: Remove file.
* sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
* sysdeps/powerpc/fpu/s_fma.c: New file.
* sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
ChangeLog
sysdeps/powerpc/fpu/s_fma.c [moved from sysdeps/powerpc/fpu/s_fma.S with 82% similarity]
sysdeps/powerpc/fpu/s_fmaf.c [moved from sysdeps/powerpc/fpu/s_fmaf.S with 82% similarity]