about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* Set EAI_SYSTEM only when h_errno is NETDB_INTERNALSiddhesh Poyarekar2013-05-211-2/+10
| | | | | | | | | | | | Fixes BZ #15339. NSS_STATUS_UNAVAIL may mean that a necessary input resource is not available. This could occur in a number of cases including when the network is down, system runs out of file descriptors, etc. The correct differentiator in such a case is the h_errno, which gives the nature of failure. In case of failures other than a simple 'not found', we set h_errno as NETDB_INTERNAL and let errno be the identifier for the exact error.
* Faster memset on x64Ondrej Bilka2013-05-201-1315/+90
| | | | | | | | | This implementation speed up memset in several ways. First is avoiding expensive computed jump. Second is using fact that arguments of memset are most of time aligned to 8 bytes. Benchmark results on: kam.mff.cuni.cz/~ondra/benchmark_string/memset_profile_result27_04_13.tar.bz2
* Faster memcpy on x64.Ondrej Bilka2013-05-204-8/+185
| | | | | | | | | We add new memcpy version that uses unaligned loads which are fast on modern processors. This allows second improvement which is avoiding computed jump which is relatively expensive operation. Tests available here: http://kam.mff.cuni.cz/~ondra/memcpy_profile_result27_04_13.tar.bz2
* Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers2013-05-195-0/+13
|
* Handle sincos with generic libm-test logic.Joseph Myers2013-05-196-44/+44
|
* Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).Joseph Myers2013-05-171-0/+1
|
* PowerPC: fix hypot/hypotf check for -INFAdhemerval Zanella2013-05-172-6/+6
|
* MIPS: soft-fp NaN representation correctionsMaciej W. Rozycki2013-05-162-0/+2
| | | | | | | | [BZ #15442] This adds support for the inverse interpretation of the quiet bit of IEEE 754 floating-point NaN data that some processors use. This includes in particular MIPS architecture processors; the payload used for the canonical qNaN encoding is updated accordingly so as not to interfere with the quiet bit.
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-1631-5/+33
|
* Use movq for 64-bit operationsPeter Collingbourne2013-05-151-2/+4
| | | | | | | | | | | The EXTRACT_WORDS64 and INSERT_WORDS64 macros use movd for a 64-bit operation. Somehow gcc manages to turn this into movq, but LLVM won't. 2013-05-15 Peter Collingbourne <pcc@google.com> * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro. (EXTRACT_WORDS64) Use where appropriate. (INSERT_WORDS64) Likewise.
* Use x constraints for operands to vfmaddss and vfmaddsdPeter Collingbourne2013-05-152-2/+2
| | | | | | | | | | | | | | | While these instructions accept memory operands, only one operand may be a memory operand. Giving two operands xm constraints gives the compiler the option of using memory for both operands, which would result in invalid assembly code. Using x for all operands is more appropriate, as most x86_64 calling conventions will pass the arguments in registers anyway. 2013-05-15 Peter Collingbourne <pcc@google.com> * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm constraints with x constraints. * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
* Update s390/bits/siginfo.hEdjunior Machado2013-05-151-3/+7
| | | | | | | | | | 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com> * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove si_trapno and add si_addr_lsb to _sifields.sigfault. (si_trapno): Remove macro. (si_addr_lsb): Define new macro. (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
* Update Sparc ULPs.David S. Miller2013-05-141-6/+853
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Make _LIB_VERSION a weak symbolSiddhesh Poyarekar2013-05-131-4/+5
| | | | | | | That way it can live alongside _LIB_VERSION in libieee.a for statically compiled programs. Resolves #14582.
* Convert TEST_ff_f tests from code to data.Joseph Myers2013-05-121-0/+4
|
* Add getgid.c for SHChristian Grönke2013-05-101-0/+1
| | | | | [BZ #12387] * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
* Hurd: add ST_NOATIMEPino Toscano2013-05-101-1/+3
|
* Fix integer overflow in sysdeps/unix/sysv/linux/bits/sched.hAndreas Jaeger2013-05-101-3/+3
| | | | | | [BZ #15448] * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S) (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
* Fix ldbl-128ibm cos range reduction near pi/2 (bug 15359).Joseph Myers2013-05-091-5/+5
|
* Fix ldbl-128 cos range reduction near pi/2 (bug 15429).Joseph Myers2013-05-091-5/+5
|
* Update powerpc libm-test ULPsAdhemerval Zanella2013-05-081-6/+440
|
* Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).Joseph Myers2013-05-0815-44/+2307
|
* Declare _dl_skip_args in ldsodefs.h header.Roland McGrath2013-05-071-0/+10
|
* Fix glob64 broken by cleanup.Roland McGrath2013-05-061-0/+2
|
* Move dummy glob64.c alongside glob.c that defines glob64.Roland McGrath2013-05-061-0/+0
|
* Flesh out stub not-cancel.h file.Roland McGrath2013-05-061-0/+8
|
* Clean up POSIX.1 implementation of truncate.Roland McGrath2013-05-061-7/+10
|
* PowerPC: fix hypot/hypof FP exceptionsAdhemerval Zanella2013-05-062-16/+14
| | | | | This patch fixes hypot/hypotf spurious floating-point exceptions generate by internal operations.
* Split _dl_writev out from _dl_debug_vdprintf.Roland McGrath2013-05-061-0/+38
|
* Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}.Roland McGrath2013-05-038-109/+4
|
* PowerPC: Add time vDSO supportAdhemerval Zanella2013-05-034-3/+70
| | | | | | | | PowerPC kernel now provides a vDSO implementation for time syscall (commit fcb41a2030abe0eb716ef0798035ef9562097f42). This patch changes time syscall wrapper to use the vDSO when available. It also changes the default non vDSO time on PowerPC to use sysdeps/posix/time.c (since gettimeofday is a vDSO call).
* Sync with Linux 3.9Andreas Jaeger2013-05-032-1/+4
| | | | | | | | * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from Linux 3.9. * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. (PF_MAX): Adjust for VSOCK change.
* Update powerpc libm-test ULPsAdhemerval Zanella2013-05-031-0/+96
|
* Update Sparc ULPs.David S. Miller2013-05-021-24/+4125
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Add missing #include in sysdeps/posix/opendir.c.Roland McGrath2013-05-011-0/+1
|
* Fix catan, catanh spurious underflows (bug 15423).Joseph Myers2013-05-012-0/+376
|
* Update powerpc libm-test ULPsAdhemerval Zanella2013-04-301-2/+414
|
* Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).Joseph Myers2013-04-302-2/+524
|
* Format s_sin.cSiddhesh Poyarekar2013-04-301-904/+1212
|
* Update powerpc libm-test ULPsAdhemerval Zanella2013-04-291-27/+3318
|
* Fix catan, catanh spurious overflows (bug 15409).Joseph Myers2013-04-272-0/+132
|
* Update i386 libm-test ULPsAllan McRae2013-04-271-0/+80
|
* PowerPC: modf optimization fixAdhemerval Zanella2013-04-264-0/+4
| | | | | | | This patch fix the 3c0265394d9ffedff2b0de508602dc52e077ce5c commits by correctly setting minimum architecture for modf PPC optimization to power5+ instead of power5 (since only on power5+ round/ceil will be inline to inline assembly).
* Update x86_64 ULPsMarkus Trippelsdorf2013-04-261-0/+244
| | | | | | 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de> * sysdeps/x86_64/fpu/libm-test-ulps: Update.
* Move x86_64-specific audit tests to sysdeps/x86_64/.Joseph Myers2013-04-2517-0/+1515
|
* Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROSPaul Pluzhnikov2013-04-252-20/+0
|
* Fix catan, catanh inaccuracy through use of log (bug 15394).Joseph Myers2013-04-242-0/+4
|
* Fix name space use in last commit.Roland McGrath2013-04-231-1/+1
|
* Add generic POSIX implementation of C11 timespec_get.Roland McGrath2013-04-231-0/+38
|
* PowerPC: modf optimizationAdhemerval Zanella2013-04-234-0/+108
| | | | | This patch implements modf/modff optimization for POWER by focus on FP operations instead of relying in integer ones.