summaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2013-05-27Use _itoa.h instead of stdio-common/_itoa.hIgor Pashev2-2/+2
2013-05-27kopensolaris ttynameIgor Pashev1-3/+141
2013-05-27Undo all kopensolaris changes to linux ttyname.Igor Pashev2-16/+0
Need to write kopensolaris specific versions
2013-05-27Add XPG7 namesIgor Pashev1-0/+51
2013-05-26Fix assembly: l -> qIgor Pashev1-9/+9
2013-05-26Fix typos in getdentsIgor Pashev2-4/+2
WTF?
2013-05-26Backport __m128 replacement.Igor Pashev1-1/+2
(Compile x86 rtld with -mno-sse -mno-mmx) On illumos there was one more issue: ../nptl/sysdeps/x86_64/tls.h:71:3: error: unknown type name '__m128 "sysdeps/x86_64/multiarch/strstr.c" include "nmmintrin.h", "nmmintrin.h" includes "xmmintrin.h", "xmmintrin.h" includes "mm_malloc.h" *before* defining __m128, "mm_malloc.h" includes "errno.h" (only on illumos, for errno), "include/errno.h" gets included, "include/errno.h" includes "tls.h", "tls.h" should include "xmmintrin.h" but include guard is already defined, so __m128 is not defined in tls.h
2013-05-28Update powerpc libm-test ULPs.Adhemerval Zanella1-0/+37
2013-05-26_dl_skip_args declaration cleanup.Thomas Schwinge1-1/+0
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't declare _dl_skip_args. Continuation of commit 8347c74cc5c972aa9e57747177b1f5f4b1cbcac8.
2013-05-26_dl_non_dynamic_init declaration cleanup.Thomas Schwinge1-3/+0
* sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init): Don't declare. Continuation of commit bc16e260d0e74b36e48d30edc6ea4f1152700c09.
2013-05-24Fix ldbl-96 hypotl of subnormals (bug 15529).Joseph Myers1-1/+1
2013-05-24Test drem and pow10 in libm-test.inc.Joseph Myers2-0/+35
2013-05-24Use same tests for isfinite/finite, lgamma/gamma.Joseph Myers2-0/+28
2013-05-24PowerPC: Program Priority Register supportAdhemerval Zanella1-0/+30
This patch add inline functions to change the Program Priority Register from ISA 2.05.
2013-05-23PowerPC: Add functions for shared resources hints.Edjunior Machado1-0/+32
2013-05-23XPG7 fix for kopensolaris bits/stat.hIgor Pashev1-1/+1
Everybody already has done it, see for example: sysdeps/unix/bsd/bits/stat.h commit f095bb7204d80f609a73a22796edd6cffd4c6add Author: Ulrich Drepper <drepper@redhat.com> Date: Sat Jan 9 10:56:41 2010 -0800 Add support for XPG7 testing. The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2013-05-22SYSCALL_ERROR_HANDLER for kopensolaris/x86_64Igor Pashev1-71/+23
Copy from linux/x86_64. Some work will be needed for kopensolaris/i386, which can be safely copied from linux/i386. (only take care of syscall args and return values) See the history for linux (git log -p)
2013-05-22Update bits/siginfo.h with Linux hwpoison SIGBUS changesEdjunior Barbosa Machado3-3/+21
Adds new SIGBUS error codes for hardware poison signals, syncing with the current kernel headers (v3.9). It also adds si_trapno field for alpha.
2013-05-22No check_consistency() on x86_64Igor Pashev1-23/+0
2013-05-22Don't include expected results in libm-test test names.Joseph Myers6-9218/+9218
2013-05-21Set EAI_SYSTEM only when h_errno is NETDB_INTERNALSiddhesh Poyarekar1-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.
2013-05-20Faster memset on x64Ondrej Bilka1-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
2013-05-20Faster memcpy on x64.Ondrej Bilka4-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
2013-05-19Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers5-0/+13
2013-05-19__USE_XOPEN2K8 in kopensolaris-gnu-bits/fcntl.hIgor Pashev1-2/+6
Put O_CLOEXEC (new), O_NOFOLLOW, O_DIRECTORY under __USE_XOPEN2K8 For O_CLOEXEC on illumos see https://github.com/illumos/illumos-gate/commit/b075ad5b007248d50e4c2e838b460c9c7cfd9fad
2013-05-19Need kopensolaris-gnu/x86_64/sysdep.SIgor Pashev1-0/+40
Copied from kopensolaris-gnu/i386 with trivial changes: i386 -> x86_64
2013-05-19Include guard in kopensolaris-gnu/bits/stat.hIgor Pashev1-0/+5
2013-05-19Handle sincos with generic libm-test logic.Joseph Myers6-44/+44
2013-05-17Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).Joseph Myers1-0/+1
2013-05-17PowerPC: fix hypot/hypotf check for -INFAdhemerval Zanella2-6/+6
2013-05-16MIPS: soft-fp NaN representation correctionsMaciej W. Rozycki2-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.
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold31-5/+33
2013-05-15Use movq for 64-bit operationsPeter Collingbourne1-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.
2013-05-15Use x constraints for operands to vfmaddss and vfmaddsdPeter Collingbourne2-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.
2013-05-15Update s390/bits/siginfo.hEdjunior Machado1-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.
2013-05-14Update Sparc ULPs.David S. Miller1-6/+853
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-05-13Make _LIB_VERSION a weak symbolSiddhesh Poyarekar1-4/+5
That way it can live alongside _LIB_VERSION in libieee.a for statically compiled programs. Resolves #14582.
2013-05-12Convert TEST_ff_f tests from code to data.Joseph Myers1-0/+4
2013-05-10Add getgid.c for SHChristian Grönke1-0/+1
[BZ #12387] * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2013-05-10Hurd: add ST_NOATIMEPino Toscano1-1/+3
2013-05-10Fix integer overflow in sysdeps/unix/sysv/linux/bits/sched.hAndreas Jaeger1-3/+3
[BZ #15448] * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S) (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2013-05-09Fix ldbl-128ibm cos range reduction near pi/2 (bug 15359).Joseph Myers1-5/+5
2013-05-09Fix ldbl-128 cos range reduction near pi/2 (bug 15429).Joseph Myers1-5/+5
2013-05-08 Update powerpc libm-test ULPsAdhemerval Zanella1-6/+440
2013-05-08Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).Joseph Myers15-44/+2307
2013-05-07Declare _dl_skip_args in ldsodefs.h header.Roland McGrath1-0/+10
2013-05-06Fix glob64 broken by cleanup.Roland McGrath1-0/+2
2013-05-06Move dummy glob64.c alongside glob.c that defines glob64.Roland McGrath1-0/+0
2013-05-06Flesh out stub not-cancel.h file.Roland McGrath1-0/+8
2013-05-06Clean up POSIX.1 implementation of truncate.Roland McGrath1-7/+10