summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686
AgeCommit message (Collapse)AuthorFilesLines
2014-01-09Fix a thinko/typo in i686's memmove (aka __memmove_ia32).Yuriy Kaminskiy1-2/+2
* sysdeps/i386/i686/memmove.S (memmove): Compare distance between SRC and DEST against LEN.
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae99-99/+99
2013-12-18Remove use of SSE4.2 functions for strstr on i686Andreas Schwab6-49/+2
The SSE4.2 have been removed from x86_64 by commit 584b18eb. This patch fixes the build on i686, which attempts to use the removed files.
2013-09-20Make __ffs hiddenAndreas Schwab1-0/+1
2013-09-04Remove --disable-versioning.Joseph Myers1-1/+1
2013-08-27Fix handling LC_CTYPE nonascii-case fallback in i686 SSE4.2 and SSSE3 ↵Andreas Schwab2-0/+24
strcasecmp/strncasecmp
2013-08-21Fix typos.Ondřej Bílka7-11/+11
2013-08-21i686: Skip SSE4_2 version for strcmp, strncmp, strncase, strcasecmpLiubov Dmitrieva3-0/+12
if bit_Slow_SSE4_2 is set.
2013-07-02Enable static 32-bit SSE4.2 strcasecmp/strncasecmpH.J. Lu2-6/+0
2013-02-21Remove remaining bounded-pointers support from i386 .S files.Joseph Myers10-78/+62
2013-02-19Remove some bounded-pointers support from i386 .S files.Joseph Myers8-85/+6
2013-02-15Remove bounded-pointers build system support.Joseph Myers1-2/+0
2013-01-05Change __x86_64 prefix in cache size to __x86H.J. Lu1-9/+0
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers99-99/+99
2012-10-11Add i686 __libc_ifunc_impl_listH.J. Lu42-0/+396
2012-09-25Add optimized sincosf for SSE2 for x86 and x86-64Liubov Dmitrieva3-1/+617
2012-09-10Fix x86 SSE cosf, sinf issuesLiubov Dmitrieva2-55/+40
* sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix unwind info if defined PIC. Fix special cases description. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise. * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix DP_HI_MASK entry. * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2012-09-03Add optimized sinf and cosf routines for x86 and x86-64Liubov Dmitrieva6-1/+1210
* sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines): Add s_sinf-sse2, s_conf-sse2. * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file. * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file. * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file. * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros for using routine as __sinf_ia32. Use macro for function declaration and weak_alias. * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros for using routine as __cosf_ia32. Use macro for function declaration and weak_alias. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright. * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright. * sysdeps/x86_64/fpu/s_sinf.S: New file. * sysdeps/x86_64/fpu/s_cosf.S: New file. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * math/libm-test.inc (cos_test): Add more test cases. (sin_test): Likewise. (sincos_test): Likewise.
2012-08-15Remove executable permissions checked in by accidentAndreas Jaeger1-0/+0
2012-08-15Fix segmentation fault in strncasecmp for i686Liubov Dmitrieva1-1/+1
2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> [BZ #14195] * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix segmentation fault for a case of two empty input strings. * string/test-strncasecmp.c (check1): Renamed to... (bz12205): ...this. (bz14195): Add new testcase for two empty input strings and N > 0. (test_main): Call new testcase, adapt for renamed function.
2012-08-09Avoid DWARF definition DIE on ifunc symbolsH.J. Lu1-3/+14
2012-08-02Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek3-17/+17
2012-05-21Fix warnings in wcschr-c.cAndreas Jaeger1-3/+9
Fixes: In file included from ../sysdeps/i386/i686/multiarch/wcschr-c.c:8:0: ../wcsmbs/wcschr.c:26:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] ../wcsmbs/wcschr.c:37:1: warning: data definition has no type or storage class [enabled by default] ../wcsmbs/wcschr.c:37:1: warning: type defaults to ‘int’ in declaration of ‘__hidden_ver1’ [enabled by default] ../wcsmbs/wcschr.c:37:1: warning: parameter names (without types) in function declaration [enabled by default]
2012-05-17BZ#14059: Fix AVX and FMA4 detection.Carlos O'Donell2-0/+2
Fix AVX and FMA4 detection by following the guidelines set out by Intel and AMD for detecting these features.
2012-05-14Add optimized expf for x86Liubov Dmitrieva4-0/+364
2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> * sysdeps/i386/i686/fpu/multiarch/Makefile: New file. * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file. * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2012-04-08memset: also update copyright yearsMike Frysinger1-1/+1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-07memset: fix define usage for shared libsMike Frysinger1-1/+1
The proper define to check "am I in a shared lib" is "SHARED", not "PIC". The two new memset_chk functions incorrectly depend on "PIC". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-30optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.SLiubov Dmitrieva1-536/+1449
I've improved the following implementation of memcpy: "sysdeps/i386/i686/multiarch/memcpy-ssse3.S". The patch includes some minor style fixes, but the important part is just using prefetch loops for the case: DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and src and dst pointers have unequal 16 byte alignments. This gives from 6% - 50% performance boost on the atom machine, about 24,73% in geometric mean.
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu1-1/+1
2012-02-29Fix x86 strcasecmp_l (bug 13786).Joseph Myers3-1/+6
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert89-267/+178
2012-02-07Remove __ELF__ conditionalsMarek Polacek1-4/+1
2012-02-03Consistently use macros for x86 PIC thunks.Joseph Myers41-418/+93
2011-12-23Fix wrong copying processing for last bytes in x86-32 wcscpyLiubov Dmitrieva1-41/+21
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-22Fix overrun in strcpy destination buffer in x86-32/SSSE3 versionLiubov Dmitrieva1-745/+516
2011-12-17Optimized wcschr and wcscpy for x86-64 and x86-32Ulrich Drepper10-1/+1370
2011-11-16Fix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and ↵Andreas Schwab2-12/+68
-mno-tls-direct-seg-refs
2011-11-14Add SSE4.2 support for strcasecmp and strncasecmp on x86-32Ulrich Drepper8-89/+470
2011-11-13SSSE3 optimized strcasecmp and strncasecmp for x86-32Ulrich Drepper14-266/+1058
2011-11-12Fix warnings in fallback C code of x86-32 wide memory functionsUlrich Drepper3-0/+12
2011-11-08Remove unnecessary code from x86-32 SSSE3 strncmpUlrich Drepper1-3/+1
2011-10-28Fix some warning nitsAndreas Schwab2-7/+5
2011-10-28Move wide char related routines to wcsmbs subdirAndreas Schwab1-3/+7
2011-10-23Fix strnlen changeUlrich Drepper1-0/+1
2011-10-23Add optimized wcslen and strnlen for x86-32Liubov Dmitrieva8-40/+723
2011-10-23Improve x86-32 SSSE3 memcpyMichael Zolotukhin1-219/+708
2011-10-23Fix WSUlrich Drepper1-5/+5
2011-10-23Fix signedness in wcscmp comparisonLiubov Dmitrieva1-71/+87
2011-10-15No need for boundary case handling in x86-32 __ieee_logUlrich Drepper1-52/+1
2011-10-15No need for boundary case handling in x86-32 __ieee_logfUlrich Drepper1-52/+1