aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2012-09-06S/390: Fix optimized mem* running on 31 bit kernels.Andreas Krebbel5-7/+8
2012-09-05Recognize new sparc hwcap bits.David S. Miller3-3/+6
* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE, HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new entries.
2012-09-05Update sparc ULPs for recently added math tests.David S. Miller1-0/+12
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-04Use sparcv8 GMP routines when building 32-bit sparcv9.David S. Miller3-0/+3
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file. * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2012-09-03Update libm-test-ulpsAndreas Jaeger2-0/+9
2012-09-03Add optimized sinf and cosf routines for x86 and x86-64Liubov Dmitrieva11-7/+2354
* 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-09-03S/390: Make IFUNC optimized mem* functions hidden.Andreas Krebbel2-6/+10
2012-09-02Use the first element of GOT for ld.so addressesH.J. Lu1-32/+8
[BZ #14538] * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the first element of the GOT. (elf_machine_load_address): Return the difference between the runtime address of _DYNAMIC and elf_machine_dynamic ().
2012-09-01Remove __ASSUME_POSIX_CPU_TIMERS.Joseph Myers5-272/+21
2012-08-29Don't make ttyname* fail if proc filesystem is not availableSiddhesh Poyarekar2-12/+0
The ttyname and ttyname_r functions on Linux now fall back to searching for the tty file descriptor in /dev/pts or /dev if /proc is not available. This allows creation of chroots without the procfs mounted on /proc. Fixes BZ #14516.
2012-08-27Remove __ASSUME_STAT64_SYSCALL.Joseph Myers11-387/+21
2012-08-23Make dl-fxstatat64.c include of fxstatat64.c use <> not "".Joseph Myers1-1/+1
2012-08-22BZ#13696: Add --disable-nscd configure option.Roland McGrath1-13/+25
2012-08-22 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_rJeff Law1-2/+7
if the family is PF_UNSPEC.
2012-08-22Add versions of wcscpy, wcschr, wcsrchr for power6/power7.Will Schmidt6-0/+283
Initially based on the versions found in wcsmbs/* ; these files have been changed by hand unrolling, and adding some additional variables to allow some read-ahead to occur, which then relieves some of the wait-for-increment/wait-for-load/wait-for-compare-results pressure that was slowing down every iteration through the while-loop. For 64-bit Power7, These changes give an approx 20% throughput boost for the wcschr and wcsrchr functions; and approx 40% boost for the wcscpy function. 32-bit improvements appear to be slightly better with ~ %30 and ~ %45 respectively. Results for Power6 closely match those for power7.
2012-08-21Remove __ASSUME_FADVISE64_64_SYSCALL.Joseph Myers5-150/+7
2012-08-21[Powerpc] Tune/optimize powerpc{32,64}/power7/memchr.S.Will Schmidt2-44/+119
Assorted tweaking, twisting and tuning to squeeze a few additional cycles out of the memchr code. Changes include bypassing the shift pairs (sld,srd) when they are not required, and unrolling the small_loop that handles short and trailing strings. Per scrollpipe data measuring aligned strings for 64-bit, these changes save between five and eight cycles (9-13% overall) for short strings (<32), Longer aligned strings see slight improvement of 1-3% due to bypassing the shifts and the instruction rearranging.
2012-08-20Remove __ASSUME_SWAPCONTEXT_SYSCALL.Joseph Myers4-21/+2
2012-08-20Define __ASSUME_UTIMES for s390.Joseph Myers1-2/+4
2012-08-20Remove __ASSUME_MMAP2_SYSCALL.Joseph Myers6-180/+26
2012-08-20S/390: Remove 32 bit getrlimit.c.Andreas Krebbel1-1/+0
2012-08-17update linux nice.c include path too after recent file shuffleMike Frysinger1-1/+1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-17Quash warning in s_sincosl.Marek Polacek1-2/+2
2012-08-17Adjust old #include's of sysdeps/unix/time.c to point to ↵Roland McGrath2-3/+3
sysdeps/posix/time.c instead.
2012-08-17Move some things from sysdeps/unix to sysdeps/posix.Roland McGrath6-0/+0
2012-08-17Merge unix/inet/syscalls.list into unix/syscalls.list.Roland McGrath2-23/+21
2012-08-17Fix typo in last change.Roland McGrath1-1/+1
2012-08-17Fix getaddrinfo for [!_STATBUF_ST_NSEC] case.Roland McGrath1-2/+35
2012-08-17Make malloc build for no-threads configurations.Roland McGrath1-5/+6
2012-08-17Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath4-213/+48
2012-08-17Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath4-6/+5
2012-08-16Fifth argument of la_pltenter() is not constant.Carlos O'Donell2-3/+3
The original runtime linker auditing interface described by Solaris allows the 5th argument of la_pltenter() to be modified. This patch cleans up the ldsodefs.h definitions such that the 5th argument is not constant. At one point the 5th argument *was* constant but this was changed with commit 2413fdba7a02ba8916f75d17199a6e9133a8f7b0. This patch updates alpha, ia64, mips, sh and sparc with similar changes.
2012-08-16Remove __ASSUME_POSIX_TIMERS.Joseph Myers6-297/+56
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-15Clean up x86_64/multiarch/strstr-c.c include order.Roland McGrath1-6/+26
2012-08-15Clean up x86_64/multiarch/memmove.c include order.Roland McGrath1-20/+18
2012-08-15Add casts to suppress warnings in system.c under [!_LIBC_REENTRANT].Roland McGrath1-3/+3
2012-08-14i386/x86_64: punt HAVE_CPP_ASM_DEBUGINFOMike Frysinger5-195/+5
Pretty sure we require recent enough versions of gcc/binutils to make this check pointless. I can't any logs in the last few years where this check didn't return "yes". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-14Remove __ASSUME_CLONE_THREAD_FLAGS.Joseph Myers4-21/+6
2012-08-14Another ULPs update.Andreas Jaeger1-0/+1
2012-08-14Update i386 ULPsAndreas Jaeger1-0/+2
2012-08-13Update x86-64 ULPsMarkus Trippelsdorf1-0/+3
The recent clog and clog10 fixes are causing some failing tests on my AMD64 CPU.
2012-08-10Move Linux kernel version conditionals to kernel-features.h.Joseph Myers2-6/+13
2012-08-09Avoid DWARF definition DIE on ifunc symbolsH.J. Lu4-17/+61
2012-08-08Remove __ASSUME_TGKILL.Joseph Myers1-7/+0
2012-08-08Add a missing #include.Roland McGrath1-1/+2
2012-08-08Missing #include updates for dirstream code move from unix to posix.Roland McGrath2-4/+4
2012-08-07Remove some pre-2.6.16 Linux kernel conditionals.Joseph Myers4-152/+8
2012-08-07Move common dirent implementation from sysdeps/unix to sysdeps/posix.Roland McGrath15-7/+7