aboutsummaryrefslogtreecommitdiff
path: root/ports
AgeCommit message (Collapse)AuthorFilesLines
2013-08-22MIPS: Correct the handling of reserved FCSR bitsMaciej W. Rozycki4-4/+12
Reserved bits in the Floating-Point Control and Status Register (FCSR) should not be implicitly cleared by fedisableexcept or feenableexcept, there is no reason to. Among these are the 8 condition codes and one of the two bits reserved for architecture implementers (bits #22 & #21). As to the latter, there is no reason to treat any of them as reserved either, they should be user controllable and settable via __fpu_control override as the user sees fit. For example in processors implemented by MIPS Technologies, such as the 5Kf or the 24Kf, these bits are used to change the treatment of denormalised operands and tiny results: bit #22 is Flush Override (FO) and bit #21 is Flush to Nearest (FN). They cause non-IEEE-compliant behaviour, but some programs may have a use for such modes of operation; the library should not obstruct such use just as it does not for the architectural Flush to Zero (FS) bit (bit #24). Therefore the change adjusts the reserved mask accordingly and also documents the distinction between bits 22:21 and 20:18.
2013-08-21Fix typos.Ondřej Bílka17-15/+42
2013-08-17PR 15483Alexandre Oliva4-0/+24
* sysdeps/powerpc/nofpu/sim-full.c: Add FIXME note about the need for thread-specific variables preserved across signal handlers. * sysdeps/powerpc/nofpu/soft-supp.h: Likewise. * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2013-07-26[AArch64] Provide symbol version for _mcount.Marcus Shawcroft5-0/+81
2013-07-23hppa: Regenerate libm-test-ulps.Carlos O'Donell2-0/+43
2013-07-22tile BZ #15759: Fix bug in _dl_unmapChris Metcalf2-3/+15
We returned without calling __munmap if not in the simulator. Now we call a separate sim_dlclose() function to make the control flow work correctly.
2013-07-21m68k: use _dl_static_init to set GLR0(dl_pagesize)Andreas Schwab5-2/+134
2013-07-19tile: add missing semicolon in <bits/ptrace.h>Chris Metcalf2-1/+6
Change 521c6785e1fc94d added the enum but missed the semicolon. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2013-07-12[AArch64] Adding -funwind-tables to backtrace.cMarcus Shawcroft2-0/+8
2013-07-09[AArch64] Use _dl_static_init to set GLR0(dl_pagesize)Marcus Shawcroft5-0/+136
2013-07-07tile: use _dl_static_init to set GLRO(gl_pagesize)Chris Metcalf5-0/+134
A recently-added test (dlfcn/tststatic5) pointed out that tile was not properly initializing the variable pagesize in certain cases. This change just copies the existing code from MIPS.
2013-07-07tile: update libm-test-ulps from scratchChris Metcalf2-129/+2797
2013-07-07tile: use soft-fp for fma() and fmaf()Chris Metcalf4-8/+105
The sfp-machine.h is based on the gcc version, but extended with required new macros by comparison with other architectures and by investigating the hardware support for FP on tile.
2013-07-05[AArch64] Regenerate libm-test-ulpsMarcus Shawcroft2-0/+50
2013-07-04Sync sys/ptrace with Linux 3.10Andreas Jaeger6-3/+102
2013-07-03Condition sysdeps/arm/include/bits/setjmp.h contents on _ISOMAC.Joseph Myers2-2/+10
2013-07-03Regenerate powerpc-nofpu ULPs.Joseph Myers2-183/+4158
2013-07-03m68k: update libm test ULPsAndreas Schwab2-6/+708
2013-07-02Regenerate MIPS ulps.Joseph Myers3-378/+9206
2013-07-02Regenerate ARM ulps.Joseph Myers2-103/+2806
2013-07-02Make soft-float ARM use soft-fp fma/fmaf.Joseph Myers5-0/+69
2013-07-02alpha: Update libm-test-ulps from scratchRichard Henderson2-205/+70
2013-07-02Implement fma in soft-fp.Joseph Myers9-12/+50
2013-07-02ARM: Pass dl_hwcap to IFUNC resolver functions.Will Newton2-1/+6
2013-06-30Support no-FPU ColdFire in sysdeps/m68k/dl-trampoline.S and refactor code.Joseph Myers2-24/+27
2013-06-30tile: switch to using <fenv.h> fallback functionsChris Metcalf7-165/+9
Now that the fallback functions match the desired semantics for tile functions, just switch to using them.
2013-06-28Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold6-3/+24
2013-06-28Fix sysdeps/m68k/fpu_control.h preprocessor indentation.Joseph Myers2-32/+36
2013-06-28Support no-FPU ColdFire in sysdeps/m68k/fpu_control.h.Nathan Sidwell2-3/+23
2013-06-28[AArch64] Adjust elf_machine_dynamic to find _DYNAMIC via _GLOBAL_OFFSET_TABLE_Marcus Shawcroft2-2/+7
2013-06-28[AArch64] Simplify getcontext pstate initialization.Marcus Shawcroft2-2/+6
2013-06-27_dl_static_init: Remove nested locking.Maciej W. Rozycki4-14/+14
This function is now called from dl_open_worker with the GL(dl_load_lock) lock held and no longer needs local protection. GL(dl_load_lock) also correctly protects _dl_lookup_symbol_x called here that relies on the caller to have serialized access to the data structures it uses.
2013-06-25m68k: fix bad use of register alias in cfi insnAndreas Schwab2-2/+7
2013-06-24[BZ #15666] alpha: Add __sqrt*_finite definitionsRichard Henderson8-0/+85
With compatibility for ev6 and non-ev6 builds, as the non-ev6 did manage to get definitions emitted for the float and double functions.
2013-06-23alpha: Update libm-test-ulpsRichard Henderson2-32/+6392
2013-06-18sysdeps/arm/arm-mcount.S: Comment typo fix.Roland McGrath2-1/+3
2013-06-18ARM: Make armv7 memcpy implementations SFI-friendlyRoland McGrath3-281/+572
2013-06-18ARM: Clean up __libc_ifunc_impl_listRoland McGrath2-10/+21
2013-06-18Fix warnings from ARM soft-float fpu_control.h.Joseph Myers2-2/+7
2013-06-18Wrap test-fpucw.c for ARM.Joseph Myers3-1/+12
2013-06-17Make ARM feenableexcept detect failure (bug 14907).Joseph Myers2-0/+18
2013-06-15New API to set default thread attributesSiddhesh Poyarekar23-0/+106
This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
2013-06-14Stop MIPS setjmp / longjmp saving / restoring floating-point flags (bug 14909).Joseph Myers6-20/+14
2013-06-14Update ARM _FPU_RESERVED value.Joseph Myers2-1/+7
2013-06-14Add math-tests.h for MIPS.Joseph Myers2-0/+41
2013-06-14MicroBlaze: negated errors in lowlevellock.hKirk Meyer2-4/+9
The macros in lowlevellock.h are returning positive errors, but the users of the macros expect negative. This causes e.g. sem_wait to sometimes return an error with errno set to -EWOULDBLOCK. Signed-off-by: Kirk Meyer <kirk.meyer@sencore.com> Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2013-06-13tile: default to little-endian in bits/endian.hChris Metcalf2-3/+5
This turns out to be helpful when doing a from-scratch cross-compile of gcc and glibc, since you can then do "make install-headers" in glibc even before you have a functioning tile gcc.
2013-06-11Add exception information to math-tests.h and use it in libm-test.inc.Joseph Myers2-1/+12
2013-06-11PowerPC: Remove redundant ports/sysdeps/powerpc/dl-procinfo.[ch].Ryan S. Arnold3-268/+7
2013-06-11PowerPC: Merge ports/ dl-procinfo.[ch] with base.Ryan S. Arnold2-69/+74