about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Fix unsafe compiler optimizationAdhemerval Zanella2013-06-123-1/+16
| | | | | | | | GCC 4.8 enables -ftree-loop-distribute-patterns at -O3 by default and this optimization may transform loops into memset/memmove calls. Without proper handling this may generate unexpected PLT calls on GLIBC. This patch fixes by create memset/memmove alias to internal GLIBC __GI_memset/__GI_memmove symbols.
* Make more libm tests condition exceptions tests with math-tests.h.Joseph Myers2013-06-124-51/+66
|
* Update Interlingua translation from translation projectAndreas Jaeger2013-06-122-180/+190
|
* Set/restore rounding mode only when neededSiddhesh Poyarekar2013-06-124-14/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The most common use case of math functions is with default rounding mode, i.e. rounding to nearest. Setting and restoring rounding mode is an unnecessary overhead for this, so I've added support for a context, which does the set/restore only if the FP status needs a change. The code is written such that only x86 uses these. Other architectures should be unaffected by it, but would definitely benefit if the set/restore has as much overhead relative to the rest of the code, as the x86 bits do. Here's a summary of the performance improvement due to these improvements; I've only mentioned functions that use the set/restore and have benchmark inputs for x86_64: Before: cos(): ITERS:4.69335e+08: TOTAL:28884.6Mcy, MAX:4080.28cy, MIN:57.562cy, 16248.6 calls/Mcy exp(): ITERS:4.47604e+08: TOTAL:28796.2Mcy, MAX:207.721cy, MIN:62.385cy, 15543.9 calls/Mcy pow(): ITERS:1.63485e+08: TOTAL:28879.9Mcy, MAX:362.255cy, MIN:172.469cy, 5660.86 calls/Mcy sin(): ITERS:3.89578e+08: TOTAL:28900Mcy, MAX:704.859cy, MIN:47.583cy, 13480.2 calls/Mcy tan(): ITERS:7.0971e+07: TOTAL:28902.2Mcy, MAX:1357.79cy, MIN:388.58cy, 2455.55 calls/Mcy After: cos(): ITERS:6.0014e+08: TOTAL:28875.9Mcy, MAX:364.283cy, MIN:45.716cy, 20783.4 calls/Mcy exp(): ITERS:5.48578e+08: TOTAL:28764.9Mcy, MAX:191.617cy, MIN:51.011cy, 19071.1 calls/Mcy pow(): ITERS:1.70013e+08: TOTAL:28873.6Mcy, MAX:689.522cy, MIN:163.989cy, 5888.18 calls/Mcy sin(): ITERS:4.64079e+08: TOTAL:28891.5Mcy, MAX:6959.3cy, MIN:36.189cy, 16062.8 calls/Mcy tan(): ITERS:7.2354e+07: TOTAL:28898.9Mcy, MAX:1295.57cy, MIN:380.698cy, 2503.7 calls/Mcy So the improvements are: cos: 27.9089% exp: 22.6919% pow: 4.01564% sin: 19.1585% tan: 1.96086% The downside of the change is that it will have an adverse performance impact on non-default rounding modes, but I think the tradeoff is justified.
* Convert iso-639.def to utf-8Siddhesh Poyarekar2013-06-112-5/+9
|
* Add exception information to math-tests.h and use it in libm-test.inc.Joseph Myers2013-06-115-18/+60
|
* Port remaining string benchmarksSiddhesh Poyarekar2013-06-117-25/+361
| | | | | There were a few more string benchmarks (strcpy_chk and stpcpy_check) in the debug directory that needed to be ported over.
* PowerPC: Remove redundant ports/sysdeps/powerpc/dl-procinfo.[ch].Ryan S. Arnold2013-06-113-268/+7
|
* PowerPC: Merge ports/ dl-procinfo.[ch] with base.Ryan S. Arnold2013-06-115-80/+124
|
* Update BIG5-HKSCS charmap to HKSCS-2008Andreas Schwab2013-06-119-11832/+13302
|
* Fix indentation and add copyright header to time.hSiddhesh Poyarekar2013-06-112-4/+23
|
* Remove performance-related bits from string testsSiddhesh Poyarekar2013-06-1126-620/+53
|
* Copy over string performance tests into benchtestsSiddhesh Poyarekar2013-06-1162-1/+5053
| | | | | Copy over already existing string performance tests into benchtests. Bits not related to performance measurements have been omitted.
* Begin porting string performance tests to benchtestsSiddhesh Poyarekar2013-06-116-3/+447
| | | | | | | | | | | | | | This is the initial support for string function performance tests, along with copying tests for memcpy and memcpy-ifunc as proof of concept. The string function benchmarks perform operations at different alignments and for different sizes and compare performance between plain operations and the optimized string operations. Due to this their output is incompatible with the function benchmarks where we're interested in fastest time, throughput, etc. In future, the correctness checks in the benchmark tests can be removed. Same goes for the performance measurements in the string/test-*.
* Fix handling of netgroup cache in nscdAndreas Schwab2013-06-115-15/+33
|
* Update Chinese (traditional) translation from translation projectAndreas Jaeger2013-06-112-1309/+1476
|
* Fix-trailing-whitespaces-in-libidn.Ondrej Bilka2013-06-115-394/+401
|
* Fix symbol definitions for __clock_* functionsSiddhesh Poyarekar2013-06-1113-25/+50
| | | | | | __clock_gettime and other __clock_* functions could result in an extra PLT reference within libc.so if it actually gets used. None of the code currently uses them, which is why this probably went unnoticed.
* Remove trailing whitespace from mach/*.sub.Joseph Myers2013-06-104-31/+35
|
* x86*: Return syscall error for lll_futex_wake.Carlos O'Donell2013-06-103-8/+17
| | | | | | | | | | | | | | | | | | | | | | It is very very possible that the futex syscall returns an error and that the caller of lll_futex_wake may want to look at that error and propagate the failure. This patch allows a caller to see the syscall error. There are no users of the syscall error at present, but future cleanups are now be able to check for the error. -- nplt/ 2013-06-10 Carlos O'Donell <carlos@redhat.com> * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wake): Return syscall error. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_futex_wake): Return syscall error.
* Add rounding mode information to math-tests.h and use it in libm-test.inc.Joseph Myers2013-06-105-4/+71
|
* Avoid overwriting earlier flags in CPPFLAGS-nonlib in benchtestsSiddhesh Poyarekar2013-06-102-1/+6
| | | | | | When setting BENCH_DURATION in CPPFLAGS-nonlib, append to the variable instead of assigning to it, to avoid overwriting earlier set flags, notably the -DNOT_IN_libc=1 flag.
* Fix previous commit.Ondrej Bilka2013-06-081-2/+2
|
* Silence warning: __inline is not at beginning of declaration.Ondrej Bilka2013-06-082-1/+5
|
* Avoid trailing whitespace in sysdeps/gnu/errlist.c.Joseph Myers2013-06-083-10/+14
|
* Use (void) in no-arguments function definitions.Joseph Myers2013-06-0881-107/+226
|
* Avoid use of "register" as optimization hint.Joseph Myers2013-06-0779-278/+430
|
* Remove trailing whitespace from localedata.Joseph Myers2013-06-0742-164/+208
|
* Update miscellaneous scripts from upstream.Joseph Myers2013-06-066-298/+797
|
* Fix leading whitespaces.Ondrej Bilka2013-06-0667-132/+203
|
* Fix ChangeLog.Ondrej Bilka2013-06-062-3/+3
|
* Remove trailing whitespace in nptl.Joseph Myers2013-06-0615-49/+67
|
* BZ #15583: r7 uninitialized in strcpy.S when ARM_HAS_T2 undefinedRichard Henderson2013-06-053-2/+8
|
* Fix executable mode.Ondrej Bilka2013-06-065-0/+9
|
* Remove trailing whitespace.Joseph Myers2013-06-05192-992/+1186
|
* Remove trailing whitespace in ports.Joseph Myers2013-06-0595-189/+307
|
* Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.Ryan S. Arnold2013-06-053-1/+9
|
* Properly handle %W in strptimeAndreas Schwab2013-06-054-8/+16
|
* Skip modifying exception mask and flags in SET_RESTORE_ROUND_53BITSiddhesh Poyarekar2013-06-052-6/+15
| | | | | We only need to set/restore rounding mode to ensure correct computation for non-default rounding modes.
* Add copyright header to test-strchrnul.cSiddhesh Poyarekar2013-06-042-0/+21
|
* [AArch64] Ensure getcontext() initializes PSTATE.Marcus Shawcroft2013-06-043-0/+11
|
* Increase test case timeoutSiddhesh Poyarekar2013-06-042-0/+5
|
* BZ #15536: Fix ulp for 128-bit IBM long double.Carlos O'Donell2013-06-033-12/+35
| | | | | | | | In 128-bit IBM long double the precision of the type decreases as you approach subnormal numbers, equaling that of a double for subnormal numbers. Therefore adjust the computation in ulp to use 2^(MIN_EXP - MANT_DIG) which is correct for FP_SUBNORMAL for all types.
* Revert po and pot files changes.Carlos O'Donell2013-05-314-3/+9
| | | | | Upstream TP should modify PO files and POT file should be empty template.
* Link extra-libs consistently with libc and ld.so.Joseph Myers2013-05-3129-143/+144
|
* Set reasonable limits for xdr_requests.Patsy Franklin2013-05-303-7/+26
| | | | | [BZ #15553] Increased the current limits large enough to load large key and data values, but small enough to not pose a DoS threat.
* [BZ #14256]Jeff Law2013-05-304-20/+29
| | | | | | * manual/errno.texi (ESTALE): Update to account for more than just NFS file systems. * sysdeps/gnu/errlist.c: Regenerated.
* Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar2013-05-2941-103/+220
| | | | | | | | | Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
* Fix ChangeLog formattingSiddhesh Poyarekar2013-05-292-32/+32
|
* Add descriptive titles to po files and header.Carlos O'Donell2013-05-284-3/+9
| | | | | | | | | | | | | | Added descriptive titles to the Belarusian, English (American), and Chinese (simplified) po/pot files. --- 2013-05-28 Carlos O'Donell <carlos@redhat.com> * po/be.po: Add descriptive title. * po/zh_CN.po: Likewise. * po/header.pot: Likewise.