powerpc: Add optimized version of [l]lroundf

System Internals / glibc - Rajalakshmi Srinivasaraghavan [linux.vnet.ibm.com] - 23 June 2017 01:13 EDT

This patch makes use of optimized double version of llround for single precision as both the versions return [long] long type.

001b09a powerpc: Add optimized version of [l]lroundf
ChangeLog | 17 ++++++++
sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile | 2 +-
.../powerpc64/fpu/multiarch/s_llroundf-ppc64.S | 32 +++++++++++++++
.../powerpc/powerpc64/fpu/multiarch/s_llroundf.c | 46 ++++++++++++++++++++++
sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S | 7 ++++
sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S | 1 +
sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S | 7 ++++
sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S | 1 +
sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S | 7 ++++
sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S | 1 +
10 files changed, 120 insertions(+), 1 deletion(-)

Upstream: sourceware.org


  • Share