mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-05 19:21:05 +00:00
9d5d214e86
This patches consolidates all the powerpc llround{f} implementations on the generic sysdeps/powerpc/powerpc32/fpu/s_llround{f}. 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/powerpc32/fpu/Makefile [$(subdir) == math] (CFLAGS-s_lround.c): New rule. * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+ and fctidz optimization. * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file. * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c, CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c, CFLAGS-s_lround-power5+.c): New rule. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c: New file. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S: Remove file. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise. * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise. * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise. * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise. Reviewed-by: Gabriel F. T. Gomes <gabriel@inconstante.eti.br> |
||
---|---|---|
.. | ||
e_hypot-power7.c | ||
e_hypot-ppc32.c | ||
e_hypot.c | ||
e_hypotf-power7.c | ||
e_hypotf-ppc32.c | ||
e_hypotf.c | ||
Makefile | ||
s_ceil-power5+.c | ||
s_ceil-ppc32.c | ||
s_ceil.c | ||
s_ceilf-power5+.c | ||
s_ceilf-ppc32.c | ||
s_ceilf.c | ||
s_floor-power5+.c | ||
s_floor-ppc32.c | ||
s_floor.c | ||
s_floorf-power5+.c | ||
s_floorf-ppc32.c | ||
s_floorf.c | ||
s_llrint-power6.c | ||
s_llrint-ppc32.c | ||
s_llrint.c | ||
s_llrintf-power6.c | ||
s_llrintf-ppc32.c | ||
s_llrintf.c | ||
s_llround-power5+.c | ||
s_llround-power6.c | ||
s_llround-ppc32.c | ||
s_llround.c | ||
s_llroundf.c | ||
s_logb-power7.c | ||
s_logb-ppc32.c | ||
s_logb.c | ||
s_logbf-power7.c | ||
s_logbf-ppc32.c | ||
s_logbf.c | ||
s_logbl-power7.c | ||
s_logbl-ppc32.c | ||
s_logbl.c | ||
s_lrint-power6x.S | ||
s_lrint-ppc32.c | ||
s_lrint.c | ||
s_lrintf.c | ||
s_lround-power5+.c | ||
s_lround-power6x.S | ||
s_lround-ppc32.c | ||
s_lround.c | ||
s_lroundf.c | ||
s_modf-power5+.c | ||
s_modf-ppc32.c | ||
s_modf.c | ||
s_modff-power5+.c | ||
s_modff-ppc32.c | ||
s_modff.c | ||
s_round-power5+.c | ||
s_round-ppc32.c | ||
s_round.c | ||
s_roundf-power5+.c | ||
s_roundf-ppc32.c | ||
s_roundf.c | ||
s_trunc-power5+.c | ||
s_trunc-ppc32.c | ||
s_trunc.c | ||
s_truncf-power5+.c | ||
s_truncf-ppc32.c | ||
s_truncf.c |