about summary refs log tree commit diff
path: root/soft-fp/fixdfsi.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-10-03 00:48:27 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-11-28 08:53:15 -0200
commit88684de7a68b88e8d7e29b2490bdb62994a5e97e (patch)
treece595147b2092146aa4eb494e3c75303ec5bf573 /soft-fp/fixdfsi.c
parentf9bb1ef233f7c99312ddc3efb6bc652537e077bc (diff)
downloadglibc-88684de7a68b88e8d7e29b2490bdb62994a5e97e.tar.gz
glibc-88684de7a68b88e8d7e29b2490bdb62994a5e97e.tar.xz
glibc-88684de7a68b88e8d7e29b2490bdb62994a5e97e.zip
sparc: Implement memcpy/mempcpy ifunc selection in C
This patch refactor the SPARC64 ifunc selector to a C implementation.
The x86_64 implementation is used as default, which resulted in common
definitions (ifunc-init.h) used on both architectures.  No functional
change is expected, including ifunc resolution rules.

Checked on sparc64-linux-gnu, sparcv9-linux-gnu and x86_64-linux-gnu.

	* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
	file.
	* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
	* sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
	* sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
	* sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
	macro.
	* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
	[$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
	* sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
	(sysdep_routines): Add memcpy-ultra1.
	* sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
	* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.

Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'soft-fp/fixdfsi.c')
0 files changed, 0 insertions, 0 deletions