aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps
AgeCommit message (Collapse)Author
2013-05-16MIPS: soft-fp NaN representation correctionsMaciej W. Rozycki
[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. Arnold
2013-05-15hppa: Cleanup libm-test-ulps.Carlos O'Donell
Joseph Myers noted that there were several old and really very incorrect values in the hppa libm-test-ulps. This patch removes all of the ulps values for ceil, floor, rint, round, trun, llrint, and llround, all of which were previously incorreclty added (including some negative values which are really wrong). --- ports/ 2013-05-15 Carlos O'Donell <carlos@redhat.com> * sysdeps/hppa/fpu/libm-test-ulps: Remove old values for ceil, floor, rint, round, trunc, llrint, and llround.
2013-05-15hppa: Update libm-test-ulpsCarlos O'Donell
Update libm-test-ulps for hppa. There are a few entries with 4 or 5 ulps, but these appear to be expected. A more thorough review will be required if hppa switches long-double to a different type. --- ports/ 2013-05-15 Carlos O'Donell <carlos@redhat.com> * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2013-05-15hppa: Fix _FPU_GETCW and _FPU_SETCW.Carlos O'Donell
The following patch fixes both _FPU_GETCW and _FPU_SETCW for hppa. The initial implementation was flawed and not well tested. We failed to set cw, and passed in the value of a register to fldd. This patch fixes both of those errors and allows the libm tests to pass without failure. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Carlos O'Donell <carlos@redhat.com> --- 2013-05-15 Guy Martin <gmsoft@tuxicoman.be> Carlos O'Donell <carlos@redhat.com> [BZ# 15000] * ports/sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Set cw. (_FPU_SETCW): Pass address to fldd.
2013-05-14Stop ARM setjmp/longjmp saving/restoring fpscr (bug 14908).Joseph Myers
2013-05-13ARM: Make multiarch memcpy always use NEON when compiler doesRoland McGrath
2013-05-12[AArch64] Fix out of range branch from ioctl() and clone()Marcus Shawcroft
2013-05-12 Marcus Shawcroft <marcus.shawcroft@linaro.org> * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not call sycall_error directly with a confitional branch. * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Do not call sycall_error directly with a confitional branch.
2013-05-08ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.Will Newton
2013-05-07ARM: Rewrite elf_machine_dynamic in pure C.Roland McGrath
2013-05-06ARM: Add missing sfi_breg prefix in _dl_tlsdesc_dynamic code.Roland McGrath
2013-04-19ARM: Macroize assembly use of EABI unwind directives.Roland McGrath
2013-04-18MicroBlaze PortDavid Holsgrove
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
2013-04-11m68k: update libm test ULPsAndreas Schwab
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-03-26ARM: fix preconfigure.Mans Rullgard
2013-03-21Use LIBC_CONFIG_VAR for MIPS default-abi setting.Joseph Myers
2013-03-20Use LIBC_CONFIG_VAR for ARM default-abi setting.Joseph Myers
2013-03-19aarch64: Move rtld link to /libAndreas Schwab
2013-03-18ARM: Make dl-tlsdesc.S use sfi_breg, respect ARM_ALWAYS_BX and ↵Roland McGrath
ARM_NO_INDEX_REGISTER.
2013-03-15Better distinguish between NaN/qNaN/sNaN.Thomas Schwinge
2013-03-15Avoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux.Thomas Schwinge
Follow-up to commit 664a9ce4ca40feabff781fff044c93a43ae15b59.
2013-03-15ARM: sfi_sp assembler macroRoland McGrath
2013-03-15ARM: sfi_breg assembler macroRoland McGrath
2013-03-14aarch64: use lib64 as default lib and slib directoryAndreas Schwab
2013-03-13ARM_BX_ALIGN_LOG2Roland McGrath
2013-03-13ARM: Handle ARM_ALWAYS_BX in {add,sub}_n.S code.Roland McGrath
2013-03-13ARM: Support avoiding pc as destination register.Roland McGrath
2013-03-12ARM: Make armv6t2 memchr implementation usable without Thumb.Roland McGrath
2013-03-12ARM: Change register allocation in armv6t2 memchr implementation.Roland McGrath
2013-03-12ia64: fix set-but-unused warnings with syscallsMike Frysinger
These macros often set up a variable that later macros sometimes do not use. Add unused attribute to avoid that. Similarly, the ia64 code tends to check the err field rather than the val (which is opposite of most arches) leading to the same kind of warning. Replace this with a dummy reference. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-03-12ia64: fix strict aliasing warnings with libm errorMike Frysinger
The current code declares double constants by using a char buffer and then casting the pointer to a different type. This makes the aliasing logic unhappy. Change it to use a union instead to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-03-12ia64: fix strict aliasing warnings with func descriptorsMike Frysinger
Function pointers on ia64 are like parisc -- they're plabels. While the parisc port enjoys a gcc builtin for extracting the address here, ia64 has no such luck. Casting & dereferencing in one go triggers a strict aliasing warning. Use a union to fix that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-03-11Add comments about ARM configure -fno-unwind-tables handling.Joseph Myers
2013-03-11ARM: Consolidate setjmp details in include/bits/setjmp.h file.Roland McGrath
2013-03-11ARM: Convert string/ assembly to unified syntax.Roland McGrath
2013-03-11ARM: Use r10 instead of r9.Roland McGrath
2013-03-11AM33: Use <bits/mman.h>Andreas Jaeger
2013-03-11Use <bits/mman.h> on ia64Andreas Jaeger
2013-03-11Clean up ARM preconfigure.Roland McGrath
2013-03-11Remove extra pthread_atfork compat symbolsAndreas Schwab
2013-03-10ia64: makecontext: fix signed warningsMike Frysinger
The ia64_rse_is_rnat_slot func expects an unsigned pointer, but we're passing in a signed pointer. The signness doesn't matter here, so convert it to unsigned. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-03-10ia64: fix NEED_DL_SYSINFO_DSO conditionalsMike Frysinger
The recent change to clean up these defines missed the ia64 logic. Update it accordingly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-03-07arm: Implement armv6 optimized string routinesRichard Henderson
The strcpy and strchr (and related) functions are four times faster than the byte-by-byte default versions. The strlen function is twice as fast for long strings and 50% faster for short strings over the armv4 version.
2013-03-07AARCH64: Use <bits/mman-linux.h>Andreas Jaeger
* sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2013-03-06Use <bits/mman-linux.h> for MIPSAndreas Jaeger
* sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow definition via __MAP_ANONYMOUS. * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>. (__MAP_ANONYMOUS): Define.
2013-03-06arm: Add optimized add_n and sub_nRichard Henderson
Written from scratch rather than copied from GMP, due to LGPL 2.1 vs GPL 3, but tested with the GMP testsuite. This is 250% faster than the generic code as measured on Cortex-A15, and the same speed as GMP on the same core, and probably everywhere.
2013-03-06arm: Add optimized submul_1Richard Henderson
Written from scratch rather than copied from GMP, due to LGPL 2.1 vs GPL 3, but tested with the GMP testsuite. This is 50% faster than the generic code as measured on Cortex-A15. It is 25% slower than the current GMP routine on the same core.
2013-03-06arm: Add optimized addmul_1Richard Henderson
Written from scratch rather than copied from GMP, due to LGPL 2.1 vs GPL 3, but tested with the GMP testsuite. This is 25% faster than the generic code as measured on Cortex-A15, and the same speed as GMP on the same core. It's probably slower than GMP on the A8 and A9 cores though.
2013-03-06arm: Add optimized ffs for armv6t2Richard Henderson