aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2012-03-09Use include_next to chain math_private.h headers.Richard Henderson3-3/+3
2012-03-09Use <> for math.h and math_private.h everywhere.Richard Henderson335-576/+576
Entire tree edited via find | grep | sed.
2012-03-09Split enum __socket_type from bits/socket.h to bits/socket_type.h.Joseph Myers5-472/+114
2012-03-09powerpc: Convert __ieee754_sqrt{,f} from macros to inlines.Richard Henderson1-70/+36
2012-03-09x86_64: Convert __rint* and __floor* from macros to inlines.Richard Henderson1-49/+43
2012-03-09x86_64: Convert __ieee754_sqrt{,f,l} from macros to inlines.Richard Henderson1-22/+32
2012-03-09Use target-specific math_private.h in math_ldbl_opt.h.Richard Henderson1-1/+1
2012-03-08Update copyright year after my most recent changes.David S. Miller2-2/+2
nptl/ * sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year. / * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update copyright year. * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2012-03-08Fix struct timespec normalization (as used in many other places).Thomas Schwinge1-3/+2
2012-03-08Clean up glibc manual references to "GNU system" (bug 6911).Joseph Myers1-10/+10
2012-03-07Fix sysdeps/i386/configure.in cpuid.h test for bootstrapping.Joseph Myers2-481/+4
2012-03-07Fix signs of zeros from casinh, cacosh etc. (bug 10716).Joseph Myers2-0/+584
2012-03-06Fix up long double fphex.Marek Polacek2-2/+4
2012-03-06Fix several build warnings on sparc.David S. Miller2-9/+25
/ * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (set_obp_int): New function. (get_obp_int): New function. (__get_clockfreq_via_dev_openprom): Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid unused variable warnings on 'val' and use builtin_expect. (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect. (INLINE_CLONE_SYSCALL): Likewise. nptl/ * sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use atomic_increment and remove unused local variable. (__old_sem_post): Likewise.
2012-03-05Update sparc ULPs due to recently added tests.David S. Miller1-0/+87
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-05Update powerpc libm ULPsAndreas Schwab1-0/+170
2012-03-05Fix loss of precision in cosh and sinh for IBM long doubleAndreas Schwab2-10/+10
2012-03-05 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):H.J. Lu3-4/+4
Replace gettimeofday with __vdso_gettimeofday. * sysdeps/unix/sysv/linux/x86_64/init-first.c (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with __vdso_clock_gettime and __vdso_getcpu. * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace time with __vdso_time.
2012-03-05* sysdeps/i386/fpu/libm-test-ulps: Update.Andreas Jaeger1-0/+17
2012-03-05Fix pow in non-default rounding modes (bug 3976).Joseph Myers3-2/+119
2012-03-05Test cosh, sinh in non-default rounding modes (bug 3976).Joseph Myers2-0/+263
2012-03-052012-03-05 Tom de Vries <tom@codesourcery.com>Tom de Vries2-4/+4
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure default stack guard is set in last bytes. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2012-03-04Update powerpc libm ULPsAndreas Schwab1-19/+511
2012-03-03Remove oldish __GNUC_PREREQ.Marek Polacek2-72/+8
2012-03-02Add sparc optimized {l,}rint{,f} for 32-bit v9 and 64-bit.David S. Miller8-0/+385
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file. * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file. * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file. * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file. * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2012-03-02Update sparc ULPs.David S. Miller1-0/+412
* sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2012-03-02Fix sin, cos, tan in non-default rounding modes (bug 3976).Joseph Myers4-83/+1004
2012-03-02Fix scalbn, scalbln integer overflow.Joseph Myers12-36/+60
2012-03-02Fix exp in non-default rounding modes (bug 3976).Joseph Myers3-14/+142
2012-03-022012-03-01 Chris Demetriou <cgd@google.com>Chris Demetriou1-1/+4
* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals * to have predictable order.
2012-03-01Kill sparc32 specific __getpagesize, unneeded.David S. Miller1-45/+0
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2012-03-01Optimized 64-bit sparc assembler for finite{,f} and isinf{,f}.David S. Miller4-0/+129
* sysdeps/sparc/sparc64/fpu/s_finite.S: New file. * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file. * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file. * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2012-03-01Optimized sparc assembler for signbit{,f,l} and some variants of isnan.David S. Miller9-0/+224
* sysdeps/sparc/sparc32/fpu/s_signbit.S: New file. * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file. * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file. * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file. * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file. * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file. * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file. * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2012-03-01Update Sparc ulps for recently added tests.David S. Miller1-0/+13
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-01Sparc doesn't need seperate 32-bit and 64-bit ulps files.David S. Miller2-1376/+0
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move... * sysdeps/sparc/fpu/libm-test-ulps: to here. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2012-03-01Remove sparc binutils GOTDATA checks in lieu of new minimum version requirement.David S. Miller18-224/+6
* sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise. * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise. * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. * config.h.in (HAVE_BINUTILS_GOTDATA): Delete. * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks. * sysdeps/sparc/elf/configure: Regenerated.
2012-03-01Improve erfc accuracy.Joseph Myers5-2/+35
2012-02-29Fix x86 strcasecmp_l (bug 13786).Joseph Myers3-1/+6
2012-02-29Add test for bug 5794 (incorrect expm1 overflow).Joseph Myers2-0/+8
2012-02-29Reduce large expected errors from libm tests on x86 and x86_64.Joseph Myers2-37/+26
2012-02-28Add sparc optimized sqrt{,f}.David S. Miller6-0/+337
* sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file. * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file. * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file. * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2012-02-28Optimized expf for x86-64Ulrich Drepper1-0/+340
2012-02-28Regenerate sysdeps/gnu/errlist.c for errno.texi changes.Joseph Myers1-2/+2
2012-02-28Add optimized copysign for sparc.David S. Miller4-0/+124
* sysdeps/sparc/sparc32/fpu/s_copysign.S: New file. * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file. * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file. * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2012-02-27Optimized sparc floor{,f} routines.David S. Miller4-0/+334
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file. * sysdeps/sparc/sparc64/fpu/s_floor.S: New file. * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2012-02-27Fix %fp/%sp typo in new sparc ceil{,f} assembler.David S. Miller4-8/+8
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of frame pointer instead of stack pointer relative arg slot. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise. * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise. * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2012-02-27Fix comment formatting in new optimized sparc math files.David S. Miller8-120/+112
2012-02-27Optimized sparc ceil{,f} and rint{,f} routines.David S. Miller8-0/+578
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file. * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file. * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file. * sysdeps/sparc/sparc64/fpu/s_rint.S: New file. * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2012-02-27Fix ldbl-128 rintl/nearbyintl just like flt-32 variants.David S. Miller2-44/+6
* sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not manipulate bits before adding and subtracting TWO112[sx]. * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2012-02-27Require Linux kernel headers from "make headers_install", >= 2.6.19.1.Joseph Myers2-10/+10