This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Improve wcschr, wcsrchr, wcscpy for x86_32 and for x86_64

This patch improves wcschr and wcsrchr with SSE2 and wcscpy with SSSE3
for x86_64 and x86_32.

Change log:

2011-11-14  Liubov Dmitrieva  <>

	* sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
	wcscpy-ssse3 wcscpy-c.

	* sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
	* sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
	* sysdeps/x86_64/multiarch/wcscpy.S: New file.

	* sysdeps/x86_64/wcschr.S: New file.
	* sysdeps/x86_64/wcsrchr.S: New file.
	* string/test-strcmp.c: Update.
	Remove checking of wcscmp function for
	wrong alignments.

	* sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
	wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
	wcsrchr-sse2 wcsrchr-c

	* sysdeps/i386/i686/multiarch/wcschr.S: New file.
	* sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
	* sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.

	* sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
	* sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
	* sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.

	* sysdeps/i386/i686/multiarch/wcscpy.S: New file.
	* sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
	* sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.

	* wcsmbc/wcschr.c
	(WCSCHR): New macro.

Liubov Dmitrieva
Intel Corporation

Attachment: wcscpy_wcschr_wcsrchr.patch
Description: Binary data

Attachment: ChangeLog.wcscpy_wcschr_wcsrchr
Description: Binary data

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]