glibc/sysdeps/i386/i686/multiarch
Liubov Dmitrieva c044cf14b0 Fix wrong copying processing for last bytes in x86-32 wcscpy
Wrong copy algorithm for last bytes, not thread safety.
In some particular cases it uses the destination
memory beyond the string end for
16-byte load, puts changes into that part that is relevant
to destination string and writes whole 16-byte chunk into memory.
I have a test case where the memory beyond the string end contains
malloc/free data, that appear corrupted in case free() updates
it in between the 16-byte read and 16-byte write.
2011-12-23 08:50:39 -05:00
..
bcopy-ssse3-rep.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
bcopy-ssse3.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
bcopy.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
bzero-sse2-rep.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
bzero-sse2.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
bzero.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
ifunc-defines.sym Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
init-arch.c Remove ENABLE_SSSE3_ON_ATOM. 2009-08-28 14:54:46 -07:00
init-arch.h Support multiarch for i686. 2009-07-31 11:53:35 -07:00
locale-defines.sym SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
Makefile Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
memchr-sse2-bsf.S Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
memchr-sse2.S Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
memchr.S Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
memcmp-sse4.S Optimized memcmp and wmemcmp for x86-64 and x86-32 2011-10-15 11:10:08 -04:00
memcmp-ssse3.S Optimized memcmp and wmemcmp for x86-64 and x86-32 2011-10-15 11:10:08 -04:00
memcmp.S Use CPUID_OFFSET instead of FEATURE_OFFSET 2010-02-18 23:11:21 -08:00
memcpy_chk.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
memcpy-ssse3-rep.S Fix static linking with checking x86/x86-64 memcpy. 2011-04-17 22:20:47 -04:00
memcpy-ssse3.S Improve x86-32 SSSE3 memcpy 2011-10-23 14:28:26 -04:00
memcpy.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
memmove_chk.S Fix whitespace problems. 2010-01-12 11:28:17 -08:00
memmove-ssse3-rep.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
memmove-ssse3.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
memmove.S Support __memmove_ssse3_rep when SHARED isn't defined. 2010-01-19 12:20:57 -08:00
mempcpy_chk.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
mempcpy-ssse3-rep.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
mempcpy-ssse3.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
mempcpy.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
memrchr-c.c Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
memrchr-sse2-bsf.S Fix whitespaces 2011-10-12 11:42:57 -04:00
memrchr-sse2.S Fix whitespaces 2011-10-12 11:42:57 -04:00
memrchr.S Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
memset_chk.S Fix whitespace problems. 2010-01-12 11:28:17 -08:00
memset-sse2-rep.S Fix issues in x86 memset-sse2.S/memset-sse2-rep.S 2010-02-24 18:11:35 -08:00
memset-sse2.S Fix issues in x86 memset-sse2.S/memset-sse2-rep.S 2010-02-24 18:11:35 -08:00
memset.S Optimize 32bit memset/memcpy with SSE2/SSSE3. 2010-01-12 11:22:03 -08:00
rawmemchr-sse2-bsf.S Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
rawmemchr-sse2.S Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
rawmemchr.S Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
rtld-strnlen.c Fix strnlen change 2011-10-23 16:30:40 -04:00
s_fma-fma.c Add x86-32 FMA support 2010-04-14 22:27:59 -07:00
s_fma.c Implement accurate fma. 2010-10-13 22:27:03 -04:00
s_fmaf-fma.c Add x86-32 FMA support 2010-04-14 22:27:59 -07:00
s_fmaf.c Correct implementation of fmaf. 2010-10-11 09:27:05 -04:00
sched_cpucount.c Support multiarch for i686. 2009-07-31 11:53:35 -07:00
stpcpy-sse2.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
stpcpy-ssse3.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
stpcpy.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
stpncpy-sse2.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
stpncpy-ssse3.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
stpncpy.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
strcasecmp_l-c.c SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
strcasecmp_l-sse4.S Add SSE4.2 support for strcasecmp and strncasecmp on x86-32 2011-11-14 18:24:35 -05:00
strcasecmp_l-ssse3.S SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
strcasecmp_l.S SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
strcasecmp-c.c SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
strcasecmp.S Add SSE4.2 support for strcasecmp and strncasecmp on x86-32 2011-11-14 18:24:35 -05:00
strcasestr-c.c Add x86 32-bit SSE4.2 string functions. 2009-08-04 12:13:43 -07:00
strcasestr-nonascii.c Add missing file from last commit. 2010-07-21 08:44:35 -07:00
strcasestr.c Add x86 32-bit SSE4.2 string functions. 2009-08-04 12:13:43 -07:00
strcat-sse2.S Improve x86-32 strcat functions with SSE2/SSSE3 2011-08-04 15:33:38 -04:00
strcat-ssse3.S Improve x86-32 strcat functions with SSE2/SSSE3 2011-08-04 15:33:38 -04:00
strcat.S Fix whitespaces 2011-08-04 15:38:35 -04:00
strchr-sse2-bsf.S Fix up x86-32 section names for Atom code 2011-09-07 22:28:44 -04:00
strchr-sse2.S Fix up x86-32 section names for Atom code 2011-09-07 22:28:44 -04:00
strchr.S Optimized strchr and strrchr with SSE2 on x86-32 2011-09-05 17:11:11 -04:00
strcmp-sse4.S Fix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and -mno-tls-direct-seg-refs 2011-11-16 11:48:10 +01:00
strcmp-ssse3.S Fix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and -mno-tls-direct-seg-refs 2011-11-16 11:48:10 +01:00
strcmp.S Add SSE4.2 support for strcasecmp and strncasecmp on x86-32 2011-11-14 18:24:35 -05:00
strcpy-sse2.S Fix unwind info in 32bit SSE2/SSSE3 strncpy 2011-06-25 01:32:27 -04:00
strcpy-ssse3.S Fix overrun in strcpy destination buffer in x86-32/SSSE3 version 2011-12-22 14:22:00 -05:00
strcpy.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
strcspn-c.c Add x86 32-bit SSE4.2 string functions. 2009-08-04 12:13:43 -07:00
strcspn.S Define bit_SSE2 and index_SSE2. 2009-12-13 15:23:02 -08:00
strlen-sse2-bsf.S Fix up x86-32 section names for Atom code 2011-09-07 22:28:44 -04:00
strlen-sse2.S Add optimized wcslen and strnlen for x86-32 2011-10-23 15:17:23 -04:00
strlen.S Unroll 32bit SSE strlen and handle slow bsf 2010-08-25 10:07:37 -07:00
strncase_l-c.c SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
strncase_l-sse4.S Add SSE4.2 support for strcasecmp and strncasecmp on x86-32 2011-11-14 18:24:35 -05:00
strncase_l-ssse3.S SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
strncase_l.S SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
strncase-c.c SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
strncase.S Add SSE4.2 support for strcasecmp and strncasecmp on x86-32 2011-11-14 18:24:35 -05:00
strncat-c.c Improve x86-32 strcat functions with SSE2/SSSE3 2011-08-04 15:33:38 -04:00
strncat-sse2.S Improve x86-32 strcat functions with SSE2/SSSE3 2011-08-04 15:33:38 -04:00
strncat-ssse3.S Improve x86-32 strcat functions with SSE2/SSSE3 2011-08-04 15:33:38 -04:00
strncat.S Improve x86-32 strcat functions with SSE2/SSSE3 2011-08-04 15:33:38 -04:00
strncmp-c.c 32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2 2010-02-15 11:17:50 -08:00
strncmp-sse4.S 32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2 2010-02-15 11:17:50 -08:00
strncmp-ssse3.S 32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2 2010-02-15 11:17:50 -08:00
strncmp.S 32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2 2010-02-15 11:17:50 -08:00
strncpy-c.c Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
strncpy-sse2.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
strncpy-ssse3.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
strncpy.S Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32 2011-06-24 14:15:32 -04:00
strnlen-c.c Fix some warning nits 2011-10-28 12:02:08 +02:00
strnlen-sse2.S Add optimized wcslen and strnlen for x86-32 2011-10-23 15:17:23 -04:00
strnlen.S Add optimized wcslen and strnlen for x86-32 2011-10-23 15:17:23 -04:00
strpbrk-c.c Add x86 32-bit SSE4.2 string functions. 2009-08-04 12:13:43 -07:00
strpbrk.S Add x86 32-bit SSE4.2 string functions. 2009-08-04 12:13:43 -07:00
strrchr-sse2-bsf.S Fix up x86-32 section names for Atom code 2011-09-07 22:28:44 -04:00
strrchr-sse2.S Fix up x86-32 section names for Atom code 2011-09-07 22:28:44 -04:00
strrchr.S Optimized strchr and strrchr with SSE2 on x86-32 2011-09-05 17:11:11 -04:00
strspn-c.c Add x86 32-bit SSE4.2 string functions. 2009-08-04 12:13:43 -07:00
strspn.S Fix spurious nop at start of __strspn_ia32 2011-08-23 15:53:51 +02:00
strstr-c.c Quash a warning in strstr-c.c built for static. 2011-07-14 20:47:54 -07:00
strstr.c Add x86 32-bit SSE4.2 string functions. 2009-08-04 12:13:43 -07:00
varshift.c Fixup x86 after x86-64 varshift change. 2010-08-27 12:10:11 -07:00
varshift.h Clean up SSE variable shifts 2010-08-24 11:35:01 -07:00
Versions Add x86-32 FMA support 2010-04-14 22:27:59 -07:00
wcschr-c.c Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
wcschr-sse2.S Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
wcschr.S Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
wcscmp-c.c Fix warnings in fallback C code of x86-32 wide memory functions 2011-11-12 00:50:26 -05:00
wcscmp-sse2.S Fix WS 2011-10-23 13:35:24 -04:00
wcscmp.S Fix whitespaces 2011-09-05 13:54:51 -04:00
wcscpy-c.c Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
wcscpy-ssse3.S Fix wrong copying processing for last bytes in x86-32 wcscpy 2011-12-23 08:50:39 -05:00
wcscpy.S Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
wcslen-c.c Fix warnings in fallback C code of x86-32 wide memory functions 2011-11-12 00:50:26 -05:00
wcslen-sse2.S Add optimized wcslen and strnlen for x86-32 2011-10-23 15:17:23 -04:00
wcslen.S Add optimized wcslen and strnlen for x86-32 2011-10-23 15:17:23 -04:00
wcsrchr-c.c Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
wcsrchr-sse2.S Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
wcsrchr.S Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
wmemcmp-c.c Fix warnings in fallback C code of x86-32 wide memory functions 2011-11-12 00:50:26 -05:00
wmemcmp-sse4.S Optimized memcmp and wmemcmp for x86-64 and x86-32 2011-10-15 11:10:08 -04:00
wmemcmp-ssse3.S Optimized memcmp and wmemcmp for x86-64 and x86-32 2011-10-15 11:10:08 -04:00
wmemcmp.S Optimized memcmp and wmemcmp for x86-64 and x86-32 2011-10-15 11:10:08 -04:00