aboutsummaryrefslogtreecommitdiff
path: root/ports
AgeCommit message (Collapse)Author
2012-11-21aarch64: Indent preprocessor directives.Marcus Shawcroft
2012-11-21aarch64: Use range in copyright years.Marcus Shawcroft
2012-11-21aarch64: Rename .x files to .cMarcus Shawcroft
2012-11-21aarch64: Don't use K&R CMarcus Shawcroft
2012-11-21Add sotruss-lib.c for MIPS.Joseph Myers
2012-11-20tile: update libm-test-ulps for new testsChris Metcalf
2012-11-20tile: Fix __bswap_64 return type in tile bits/byteswap.hChris Metcalf
2012-11-20tile: remove redundant defines of libc_fetestexcept, etc. in s_fma.cChris Metcalf
2012-11-20m68k: Remove indirection through weak_aliasxAndreas Schwab
2012-11-20Use parentheses around MIPS syscall macro arguments.Joseph Myers
2012-11-20Fix int-to-pointer-cast warnings for MIPS.Joseph Myers
2012-11-20Fix warnings from aborting MIPS atomic macros.Joseph Myers
2012-11-20Fix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.Joseph Myers
2012-11-19Fix unused variable warnings from MIPS syscall macros.Joseph Myers
2012-11-19AArch64: Adding optimized maths functions.Marcus Shawcroft
2012-11-19hppa: Mark __pthread_once as a hidden def.Carlos O'Donell
2012-11-19hppa: Fix fesetenv for FE_DFL_ENV.Carlos O'Donell
Switching back to FE_DFL_ENV should reset the FPU to the state as it was at the start of the program.
2012-11-19hppa: Implement get-rounding-mode.hCarlos O'Donell
Implement get_rounding_mode using the new fpu_control.h support. Use get_rounding_mode from fegetround.
2012-11-19hppa: Implement fpu_control.h.Carlos O'Donell
The HP-PARISC processor has full IEEE-754 support and we implement all of fpu_control.h.
2012-11-19hppa: Add ____longjmp_check C implementation.Carlos O'Donell
2012-11-19hppa: Implement __longjmp_chk.Carlos O'Donell
Implement longjmp and the chk variant in C.
2012-11-18m68k: fix cancellable syscall with 5 or 6 argumentsAndreas Schwab
2012-11-18m68k: define ELF_MACHINE_RUNTIME_FIXUP_PARAMSAndreas Schwab
2012-11-18m68k: update libm test ULPsAndreas Schwab
2012-11-18m68k: define lll_futex_timed_wait_bitsetAndreas Schwab
2012-11-17Fix "set but not used" warnings from MIPS bits/atomic.h.Joseph Myers
2012-11-14Fix thumb2 build breakage in libcryptMarcus Shawcroft
2012-11-09AArch64 PortMarcus Shawcroft
2012-11-07Update language in ChangeLog.tile.Chris Metcalf
2012-11-06tile: use memcpy in memmove when possibleChris Metcalf
2012-11-06Use memcpy in memmove when possibleMaxim Kuvyrkov
2012-11-06tile: use atomic op to unlock pthread_spinlock_tChris Metcalf
Atomic ops are issued directly from the core, rather than potentially sitting in the write buffer, so can improve the performance of other waiters. In addition, if we didn't end up pulling a copy of the cache line where the lock is into cache, by using an atomic op we don't have to acquire the cache line before we can unlock.
2012-11-06Make ieee754 fma tolerate architectures without exception support.Chris Metcalf
2012-11-06tile: support very large shared objectsChris Metcalf
With gcc 4.8 tilegx has support for -mcmodel=large, to tolerate very large shared objects. This option changes the compiler output to not include direct jump instructions, which have a range of only 2^30, i.e +/- 512MB. Instead the compiler marshalls the target PCs into registers and then uses jump- or call-to-register instructions. For glibc, the upshot is that we need to arrange for a few functions to tolerate the possibility of a large range between the PC and the target. In particular, the crti.S and start.S code needs to be able to reach from .init to the PLT, as does gmon-start.c. The elf-init.c code has the reverse problem, needing to call from libc_nonshared.a (linked at the end of shared objects) back to the _init section at the beginning. No other functions in *_nonshared.a need to be built this way, as they only call the PLT (or potentially each other), but all of that code is linked at the very end of the shared object. We don't build the standard -static archives with this option as the performance cost is high enough and the use case is rare enough that it doesn't seem worthwhile. Instead, we would encourage developers who need the -static model with huge executables to build a private copy of glibc and configure it with -mcmodel=large. Note that libc.so et al don't need any changes; the only changes are for code that is statically linked into user code built with -mcmodel=large. For the assembly code, I just rewrote it so that it unconditionally uses the large model. To be able to pass -mcmodel=large to csu/elf-init.c and csu/gmon-start.c, I need to check to see if the compiler supports that flag, since gcc 4.7 doesn't; I added the support by creating a small Makefile fragment that just runs the compiler to check.
2012-11-06tile: improve simulator notification for relative paths in dlopenChris Metcalf
Normally, the simulator is notified of absolute pathnames by the _dl_load_hook hook. However, when a relative pathname is used, the simulator may not know that the relative path matches a path that it could figure out in the file system that it has access to. Instead we provide a simplified version of the realpath function so we can pass a plausible absolute pathname to the simulator. Since we're now doing more work at object load time, we also add a guard so we do no work at all if we're not running on the simulator.
2012-11-06Optimize tile (mostly tilegx) memcpy and memmove performance.Chris Metcalf
- Override <memcopy.h> so we use full 8-byte word copies on tilegx32 for memmove, then use op_t in memcpy instead of the previous locally-defined word_t just to avoid proliferating identical types. - Fix bug in memcpy prefetch that caused us to never prefetch past the first cache line. - Optimize misaligned memcpy by inlining _wordcopy_fwd_dest_aligned instead of just doing a dumb word-at-a-time copy. - Make memcpy safe for forward copies by doing all the loads from a given cache line prior to doing a wh64 (cache line zero-fill) on the destination. Remove now-redundant src == dst check. - Copy and optimize the generic wordcopy.c routines to use the tile "double align" instruction instead of the MERGE macro; to avoid offset addressing mode (which tile doesn't have) by rewriting the pointer math to load and store with a zero index; and to use post-increment addresses in the inner loops to improve scheduling.
2012-11-05Define lll_futex_timed_wait_bitset for MIPS.Joseph Myers
2012-11-05Define lll_futex_timed_wait_bitset for ARM.Joseph Myers
2012-11-05Fix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).Joseph Myers
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge
2012-11-03Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers
2012-11-03Make fenv.h FE_* macros usable in #if (bug 3439).Joseph Myers
2012-11-03tile: Account for new tests (missed test-double changes)Chris Metcalf
2012-11-01Regenerate all configure scripts.Thomas Schwinge
2012-11-01Convert alpha to use <bits/fcntl-linux.h>Andreas Jaeger
2012-11-01BZ#14743: Move clock_* symbols from librt to libc.Thomas Schwinge
Change missing from commit 6e6249d0b461b952d0f544792372663feb6d792a.
2012-10-31Fix powerpc abilist sort orderAndreas Schwab
2012-10-31Remove 'Contributed' line, glibc is not using them anymore.Steve Ellcey
2012-10-31Remove trailing white spaces.Steve Ellcey
2012-10-312012-10-31 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make it work in 32 or 64 bit modes. * sysdeps/mips/mips64/memcpy.S: Remove.