]> git.ipfire.org Git - thirdparty/glibc.git/commit
powerpc: generic nearbyint/nearbyintf
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 15 Mar 2019 20:40:51 +0000 (20:40 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 May 2019 21:16:48 +0000 (18:16 -0300)
commite47308c98d2187b9657c58199a3597d72b89bf40
tree5a2412742d3c93cd0772e7d292a5d15c9343e3c8
parent157cda1ff0b75937521b155f7a4d5b4ec865b750
powerpc: generic nearbyint/nearbyintf

This patches consolidates all the powerpc nearbyint{f} implementations
on the generic sysdeps/powerpc/fpu/s_nearbyint{f}.

* sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
NEARBYINT handling.
* sysdeps/powerpc/fpu/s_nearbyint.c: New file.
* sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
* sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
ChangeLog
sysdeps/powerpc/fpu/round_to_integer.h
sysdeps/powerpc/fpu/s_nearbyint.c [new file with mode: 0644]
sysdeps/powerpc/fpu/s_nearbyintf.c [new file with mode: 0644]
sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S [deleted file]
sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S [deleted file]
sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S [deleted file]
sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S [deleted file]