diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2009-08-04 12:13:43 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-08-04 12:13:43 -0700 |
commit | 02cea47161c00969afa985e641f4ac376f84d35f (patch) | |
tree | cbc5677d2ccdea60e25e7dd6b6f19ca77e5cf3ca /ChangeLog | |
parent | 421665c40ae002f74130eb4e0b19cb22d97860cf (diff) | |
download | glibc-02cea47161c00969afa985e641f4ac376f84d35f.tar.gz glibc-02cea47161c00969afa985e641f4ac376f84d35f.tar.xz glibc-02cea47161c00969afa985e641f4ac376f84d35f.zip |
Add x86 32-bit SSE4.2 string functions.
This patch adds 32bit SSE4.2 string functions. It uses -16L instead of 0xfffffffffffffff0L, which works for both 32bit and 64bit long. Tested on 32bit Core i7 and Core 2.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c011f59c5c..149f66f1ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,27 @@ +2009-08-03 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i686/multiarch/Makefile [subdir=string] + (sysdep_routines): Add strcspn-c, strpbrk-c, strspn-c, strstr-c, and + strcasestr-c. + (CFLAGS-strcspn-c.c): Define. + (CFLAGS-strpbrk-c.c): Define. + (CFLAGS-strspn-c.c): Define. + (CFLAGS-strstr.c): Define. + (CFLAGS-strcasestr.c): Define. + * sysdeps/i386/i686/multiarch/strcspn-c.c: New file. + * sysdeps/i386/i686/multiarch/strcspn.S: New file. + * sysdeps/i386/i686/multiarch/strpbrk-c.c: New file. + * sysdeps/i386/i686/multiarch/strpbrk.S: New file. + * sysdeps/i386/i686/multiarch/strspn-c.c: New file. + * sysdeps/i386/i686/multiarch/strspn.S: New file. + * sysdeps/i386/i686/multiarch/strstr-c.c: New file. + * sysdeps/i386/i686/multiarch/strstr.c: New file. + * sysdeps/i386/i686/multiarch/strcasestr-c.c: New file. + * sysdeps/i386/i686/multiarch/strcasestr.c: New file. + * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Use + -16L instead of 0xfffffffffffffff0L. + * sysdeps/x86_64/multiarch/strspn-c.c (__strspn_sse42): Likewise. + 2009-08-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/configure.in: Add test for <cpuid.h>. |