about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump timeouts on some new nptl tests to support tilepro.Chris Metcalf2012-11-063-1/+7
|
* tile: use atomic op to unlock pthread_spinlock_tChris Metcalf2012-11-062-0/+37
| | | | | | | | | 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.
* Make ieee754 fma tolerate architectures without exception support.Chris Metcalf2012-11-062-7/+28
|
* tile: support very large shared objectsChris Metcalf2012-11-064-12/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* tile: improve simulator notification for relative paths in dlopenChris Metcalf2012-11-062-14/+92
| | | | | | | | | | | | 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.
* Optimize tile (mostly tilegx) memcpy and memmove performance.Chris Metcalf2012-11-064-67/+615
| | | | | | | | | | | | | | | | | | - 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.
* Fix fma underflows with small x * y (bug 14793).Joseph Myers2012-11-066-55/+223
|
* Define lll_futex_timed_wait_bitset for MIPS.Joseph Myers2012-11-052-0/+17
|
* Define lll_futex_timed_wait_bitset for ARM.Joseph Myers2012-11-052-1/+16
|
* [S390,PPC] Implement FUTEX_WAIT_BITSET for timedwait functionsSiddhesh Poyarekar2012-11-057-6/+124
| | | | | | | | | | | | | | Since the FUTEX_WAIT operation takes a relative timeout, the pthread_cond_timedwait and other timed function implementations have to get a relative timeout from the absolute timeout parameter it gets before it makes the futex syscall. This value is then converted back into an absolute timeout within the kernel. This is a waste and has hence been improved upon by a FUTEX_WAIT_BITSET operation (OR'd with FUTEX_CLOCK_REALTIME to make the kernel use the realtime clock instead of the default monotonic clock). This was implemented only in the x86 and sh assembly code and not in the C code. This patch implements support for FUTEX_WAIT_BITSET whenever available (since linux-2.6.29) for s390 and powerpc.
* Add bug 14805 to list of fixed bugs in NEWS.Joseph Myers2012-11-051-1/+1
|
* Fix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).Joseph Myers2012-11-056-4/+20
|
* Fix S/390 bits/fenv.h namespace use (bug 14801).Joseph Myers2012-11-056-13/+23
|
* [BZ #3665] Regenerate sysdeps/mach/hurd/bits/errno.h.Samuel Thibault2012-11-043-13/+18
|
* [BZ #5246] Conditionalize use of PTR_DEMANGLE.Thomas Schwinge2012-11-044-10/+23
|
* Fix fma overflow results outside round-to-nearest mode (bug 14797).Joseph Myers2012-11-046-13/+66
|
* [BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge2012-11-04408-435/+423
|
* [BZ #11638] has been fixed.Thomas Schwinge2012-11-041-9/+9
| | | | In commit bea9b19322c77265033a068ac60c95a37e798a80 already.
* generic paths.h: remove old paths from _PATH_STDPATHPino Toscano2012-11-042-1/+4
| | | | | Remove /usr/contrib/bin and /usr/old/bin from _PATH_STDPATH, since they seem to be part only of old BSDs, Solaris and HP-UX.
* Fix small indendation issues in paths.h filesPino Toscano2012-11-043-4/+10
|
* Fix coding style in sparc lowlevellock.hDavid S. Miller2012-11-032-2/+8
| | | | | | | | nptl/ * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Add missing spaces. (__cpu_relax): Likewise.
* Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers2012-11-0334-21/+274
|
* Make fenv.h FE_* macros usable in #if (bug 3439).Joseph Myers2012-11-0323-247/+535
|
* tile: Account for new tests (missed test-double changes)Chris Metcalf2012-11-032-0/+20
|
* elf.h: add new tilegx relocations (copy from binutils trunk)Chris Metcalf2012-11-032-3/+18
|
* Make cross-test-ssh.sh compatible with a remote POSIX shAndreas Schwab2012-11-032-19/+15
|
* Compile x86 rtld with -mno-sse -mno-mmxH.J. Lu2012-11-029-9/+70
|
* conformtest: Add test data for fenv.h.Joseph Myers2012-11-024-1/+44
|
* conformtest: Enable complex.h and inttypes.h testing for XOPEN2K8.Joseph Myers2012-11-023-2/+8
|
* conformtest: Fix sys/wait.h expectations for struct rusage.Joseph Myers2012-11-022-1/+4
|
* Make math.h FP_* macros usable in #if (bug 3439).Joseph Myers2012-11-022-10/+25
|
* Fix printf format mismatchesAndreas Schwab2012-11-023-2/+8
|
* Require an exact Autoconf version.Roland McGrath2012-11-023-1/+18
|
* Direct __ppc_get_timebase to __builtin_ppc_get_timebase for GCC 4.8+.Tulio Magno Quites Machado Filho2012-11-022-3/+14
| | | | | | Adapts __ppc_get_timebase to the upcoming GCC 4.8 that provides __builtin_ppc_get_timebase. Building applicationns with previous versions of GCC will continue to use the internal implementation.
* Test _ISOMAC in include/sys/syslog.h.Joseph Myers2012-11-022-0/+7
|
* Fix LC_IDENTIFICATION in fi_FI@euroMarko Myllynen2012-11-023-4/+10
|
* PowerPC: Fix uc_link == NULL handling for makecontex.Andreas Schwab2012-11-012-15/+20
| | | | | If the function registered with makecontext returns with a NULL context link the process should exit with zero, not non-zero.
* PowerPC: Remove unnecessary -mnew-mnemonics.Tulio Magno Quites Machado Filho2012-11-012-4/+4
|
* Update test-gencat.sh and tst-langinfo.shH.J. Lu2012-11-013-5/+11
|
* Put __NO_FPRS__ around floating point opcodes in powerpc32/dl-trampoline.S.Sebastan Andrzej Siewior2012-11-012-0/+9
|
* Fix build of test cases on GNU Hurd that are statically linked.Thomas Schwinge2012-11-012-3/+10
|
* Fix build for !(defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO).Thomas Schwinge2012-11-012-1/+3
|
* Remove PowerPC sysdep files for GNU Hurd and GNU Mach.Thomas Schwinge2012-11-0115-1501/+5
|
* check-local-headers: ignore c++ headersAndreas Schwab2012-11-012-1/+5
|
* Regenerate all configure scripts.Thomas Schwinge2012-11-012-2/+4
|
* Change type of constant to avoid a warning.Thomas Schwinge2012-11-012-1/+6
| | | | Warning has been introduced in commit 7583a88d1c7170caad26966bcea8bfc2c92093ba.
* Fix fma (a, b, c) for small a * b (bugs 14784, 14785).Joseph Myers2012-11-016-13/+368
|
* Fix a compilation error in the Hurd's bits/param.h.Thomas Schwinge2012-11-012-3/+5
| | | | | Introduced in the unification in commit e66a42f57fd20d1c7bbdc5f7937831d13bcf709b.
* Convert alpha to use <bits/fcntl-linux.h>Andreas Jaeger2012-11-012-228/+19
|
* BZ#14743: Move clock_* symbols from librt to libc.Thomas Schwinge2012-11-012-0/+10
| | | | Change missing from commit 6e6249d0b461b952d0f544792372663feb6d792a.