glibc/sysdeps/powerpc/powerpc32/power4/fpu/multiarch
Adhemerval Zanella 9d5d214e86 powerpc: Refactor powerpc32 lround/lroundf/llround/llroundf
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>
2019-06-26 14:32:45 -03:00
..
e_hypot-power7.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
e_hypot-ppc32.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
e_hypot.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
e_hypotf-power7.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
e_hypotf-ppc32.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
e_hypotf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makefile powerpc: Refactor powerpc32 lround/lroundf/llround/llroundf 2019-06-26 14:32:45 -03:00
s_ceil-power5+.c powerpc: ceil/ceilf refactor 2019-04-29 08:43:37 -03:00
s_ceil-ppc32.c powerpc: ceil/ceilf refactor 2019-04-29 08:43:37 -03:00
s_ceil.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_ceilf-power5+.c powerpc: ceil/ceilf refactor 2019-04-29 08:43:37 -03:00
s_ceilf-ppc32.c powerpc: ceil/ceilf refactor 2019-04-29 08:43:37 -03:00
s_ceilf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_floor-power5+.c powerpc: floor/floorf refactor 2019-05-09 09:38:40 -03:00
s_floor-ppc32.c powerpc: floor/floorf refactor 2019-05-09 09:38:40 -03:00
s_floor.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_floorf-power5+.c powerpc: floor/floorf refactor 2019-05-09 09:38:40 -03:00
s_floorf-ppc32.c powerpc: floor/floorf refactor 2019-05-09 09:38:40 -03:00
s_floorf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_llrint-power6.c powerpc: Refactor powerpc32 lrint/lrintf/llrint/llrintf 2019-06-17 09:27:02 -03:00
s_llrint-ppc32.c powerpc: Refactor powerpc32 lrint/lrintf/llrint/llrintf 2019-06-17 09:27:02 -03:00
s_llrint.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_llrintf-power6.c powerpc: Refactor powerpc32 lrint/lrintf/llrint/llrintf 2019-06-17 09:27:02 -03:00
s_llrintf-ppc32.c powerpc: Refactor powerpc32 lrint/lrintf/llrint/llrintf 2019-06-17 09:27:02 -03:00
s_llrintf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_llround-power5+.c powerpc: Refactor powerpc32 lround/lroundf/llround/llroundf 2019-06-26 14:32:45 -03:00
s_llround-power6.c powerpc: Refactor powerpc32 lround/lroundf/llround/llroundf 2019-06-26 14:32:45 -03:00
s_llround-ppc32.c powerpc: Refactor powerpc32 lround/lroundf/llround/llroundf 2019-06-26 14:32:45 -03:00
s_llround.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_llroundf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logb-power7.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logb-ppc32.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logb.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logbf-power7.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logbf-ppc32.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logbf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logbl-power7.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logbl-ppc32.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_logbl.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_lrint-power6x.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_lrint-ppc32.c powerpc: Refactor powerpc32 lrint/lrintf/llrint/llrintf 2019-06-17 09:27:02 -03:00
s_lrint.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_lrintf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_lround-power5+.c powerpc: Refactor powerpc32 lround/lroundf/llround/llroundf 2019-06-26 14:32:45 -03:00
s_lround-power6x.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_lround-ppc32.c powerpc: Refactor powerpc32 lround/lroundf/llround/llroundf 2019-06-26 14:32:45 -03:00
s_lround.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_lroundf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_modf-power5+.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_modf-ppc32.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_modf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_modff-power5+.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_modff-ppc32.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_modff.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_round-power5+.c powerpc: round/roundf refactor 2019-05-09 09:39:07 -03:00
s_round-ppc32.c powerpc: round/roundf refactor 2019-05-09 09:39:07 -03:00
s_round.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_roundf-power5+.c powerpc: round/roundf refactor 2019-05-09 09:39:07 -03:00
s_roundf-ppc32.c powerpc: round/roundf refactor 2019-05-09 09:39:07 -03:00
s_roundf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_trunc-power5+.c powerpc: trunc/truncf refactor 2019-05-09 09:39:28 -03:00
s_trunc-ppc32.c powerpc: trunc/truncf refactor 2019-05-09 09:39:28 -03:00
s_trunc.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s_truncf-power5+.c powerpc: trunc/truncf refactor 2019-05-09 09:39:28 -03:00
s_truncf-ppc32.c powerpc: trunc/truncf refactor 2019-05-09 09:39:28 -03:00
s_truncf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00