about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* New __sqr function as a faster special case of __mulSiddhesh Poyarekar2013-02-147-2/+296
|
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-1336-101/+81
|
* Remove unnecessary factorial arraySiddhesh Poyarekar2013-02-131-10/+3
| | | | kf is n! at the end of the loop, so storing the values is unnecessary.
* Better exp polynomialSiddhesh Poyarekar2013-02-131-23/+37
| | | | The lesser the __mul calls, the better it is for performance.
* Optimized mp multiplicationSiddhesh Poyarekar2013-02-131-8/+48
| | | | Don't bother multiplying zeroes since that only wastes cycles.
* Clean up add_magnitudes and sub_magnitudesSiddhesh Poyarekar2013-02-131-52/+60
|
* Remove CHECK_N and bp-checks.h.Joseph Myers2013-02-0830-141/+44
|
* ARM: Support loading unmarked objects from cache.Carlos O'Donell2013-02-081-0/+1
| | | | | | | | | | | | ARM now supports loading unmarked objects from the dynamic loader cache. Unmarked objects can be used with the hard-float or soft-float ABI. We must support loading unmarked objects during the transition period from a binutils that does not mark objects to one that does mark them with the correct ELF flags. Signed-off-by: Carlos O'Donell <carlos@redhat.com>
* Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers2013-02-0832-159/+42
|
* Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code.Joseph Myers2013-02-081-12/+0
|
* Remove lots of inline keywords.Roland McGrath2013-02-074-6/+7
|
* Move nss directory into sysdeps Subdirs.Roland McGrath2013-02-051-0/+1
|
* Add missing includes to sysdeps/generic/malloc-sysdep.h.Roland McGrath2013-02-051-0/+3
|
* Add long-double sparc ULPs updates missing in previous commit.David S. Miller2013-02-041-0/+36
|
* Update sparc ULPs after Joseph's casin fixes.David S. Miller2013-02-041-0/+126
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers2013-02-0426-109/+35
|
* Remove BOUNDED_N and BOUNDED_1.Joseph Myers2013-02-015-21/+3
|
* Remove bp-start.h and INIT_ARGV_and_ENVIRON.Joseph Myers2013-02-012-72/+0
|
* Remove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.Joseph Myers2013-01-311-27/+0
|
* Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.Joseph Myers2013-01-3111-30/+11
|
* Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers2013-01-315-88/+10
|
* Remove bp-thunks code.Joseph Myers2013-01-315-202/+0
|
* Fix casinh spurious underflows away from [-i,i] (bug 15062).Joseph Myers2013-01-312-0/+366
|
* Add a minor 'cas' atomic optimization on sparc.David S. Miller2013-01-232-12/+30
| | | | | | | | | * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__arch_compare_and_exchange_val_32_acq): Use %g0 as second argument of CAS if possible. * sysdeps/sparc/sparc64/bits/atomic.h (__arch_compare_and_exchange_val_32_acq): Likewise. (__arch_compare_and_exchange_val_64_acq): Likewise.
* ulimit: remove buggy bsd implementationPino Toscano2013-01-231-91/+0
| | | | | | | | | The bsd implementation of ulimit produces wrong return values, so remove it in favour of the posix implementation. The only regression for non-Linux implementations using bsd sysdeps and not providing an own ulimit is that the __UL_GETMAXBRK case (which is non-standard) is left unimplemented (giving EINVAL).
* ulimit: include <limits.h>Pino Toscano2013-01-231-0/+1
|
* ulimit: move linux implementation as posixPino Toscano2013-01-231-0/+0
| | | | | The linux implementation of ulimit works correctly and has nothing specific to Linux, so move it as general posix implementation.
* S/390: Fix setjmp/longjmp FPR save/restoreAndreas Krebbel2013-01-233-9/+17
|
* Make bits/wchar.h correct for all architectures (bug 15036).Joseph Myers2013-01-231-32/+0
|
* Use libgcc unwinder for sparc backtraces, if available.David S. Miller2013-01-216-57/+188
| | | | | | | | | | * sysdeps/sparc/backtrace.c: New file. * sysdeps/sparc/sparc32/backtrace.h: New file. * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file. * sysdeps/sparc/sparc64/backtrace.h: New file. * sysdeps/sparc/sparc64/backtrace.c: Delete. * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add -funwind-tables.
* Remove use of mpa2.hAndreas Schwab2013-01-202-2/+0
|
* PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.Anton Blanchard2013-01-184-29/+33
| | | | | | | | | | In order for the __kernel_get_tbfreq vDSO call to work the INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from assuming an integer return type (since the timebase frequency is a 64-bit value) by specifying the type of the return type as a macro parameter. The macro then specifically declares the return value as a 'register' (or implied pair) of the denoted type. The compiler is then informed that this register (or implied pair) is to be used for the return value.
* Fix application of the exception maskSiddhesh Poyarekar2013-01-181-1/+1
| | | | Fixes BZ #14496.
* Simplify calculation of 2^-m in __mpexpSiddhesh Poyarekar2013-01-182-29/+34
|
* Remove unnecessary multiplication with RADIXISiddhesh Poyarekar2013-01-181-3/+3
|
* Update sparc ULPs.David S. Miller2013-01-171-0/+74
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Fix cacos real-part inaccuracy for result real part near 0 (bug 15023).Joseph Myers2013-01-172-0/+21
|
* Add HAVE_MREMAP for mremap usagePino Toscano2013-01-171-0/+2
| | | | | | | | | Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap availability. Move the malloc-sysdep.h include from arena.c to malloc.c, since what is provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion of arena.c.
* Fix header commentSiddhesh Poyarekar2013-01-171-2/+0
|
* Implement x86 SIZE32/SIZE64 relocationsH.J. Lu2013-01-162-0/+29
|
* Adapt installed powerpc headers better for soft-float / no-FPRs.Joseph Myers2013-01-174-21/+37
|
* Consolidate constant defines into mpa.hSiddhesh Poyarekar2013-01-1613-120/+26
|
* Fix the value of TWOSiddhesh Poyarekar2013-01-161-1/+1
|
* Optimize trunc{,f} on sparc.David S. Miller2013-01-1614-2/+503
| | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 trunc{,f} to libm-sysdep_routes. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file. * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file. * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
* Optimize nearbyint{,f} on sparc.David S. Miller2013-01-1514-2/+566
| | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 nearbyint{,f} to libm-sysdep_routes. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file. * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file. * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
* Use libc_fe*() in 32-bit nearbyint()David S. Miller2013-01-151-4/+4
| | | | | * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use libc_feholdexcept and libc_fesetenv.
* scsi/sg.h: include stddef.h for size_tMike Frysinger2013-01-151-0/+2
| | | | | | | | | This header uses size_t but doesn't include stddef.h for it. So when packages happen to include this before any header that defines size_t, they get a build failure. Reviewed-by: Carlos O'Donell <codonell@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Optimize sparc {ceil,floor}{,f} using vis2 'siam' instruction.David S. Miller2013-01-1427-223/+629
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro. (SPARC_ASM_VIS2_IFUNC): Likewise. (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make use of 'siam' instruction. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in new VIS2 routines. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2 routines to libm-sysdep_routines. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
* Optimize fdim/fdimf on sparc.David S. Miller2013-01-1411-1/+312
| | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3 fdim/fdimf to libm-sysdep_routines. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file. * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file. * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file. * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file. * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
* Fix up log format, wrap a long line.Roland McGrath2013-01-141-1/+2
|