aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-18ARM: Clean up __libc_ifunc_impl_listRoland McGrath
2013-06-18Fix warnings from ARM soft-float fpu_control.h.Joseph Myers
2013-06-18Wrap test-fpucw.c for ARM.Joseph Myers
2013-06-17PowerPC: Reserve TCB space for EBB frameworkAdhemerval Zanella
This patch reserves four pointer to be used in future Event-Based Branch framework for PowerPC.
2013-06-17Make ARM feenableexcept detect failure (bug 14907).Joseph Myers
2013-06-17Sort sysd-rules-patterns by descending pattern length.Roland McGrath
2013-06-17Rewrite sysd-rules generation using an awk script.Roland McGrath
2013-06-17Use math-tests.h more in math/test-misc.Joseph Myers
2013-06-15Fix spurious "inexact" exceptions from dbl-64 sqrt (bug 15631).Joseph Myers
2013-06-15Add another fma test.Joseph Myers
2013-06-15Add documentation for default pthread attribute functionsSiddhesh Poyarekar
2013-06-15New API to set default thread attributesSiddhesh Poyarekar
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 Myers
2013-06-14Update ARM _FPU_RESERVED value.Joseph Myers
2013-06-14Add math-tests.h for MIPS.Joseph Myers
2013-06-14Set fast unaligned load flag for new Intel microarchitectureLiubov Dmitrieva
I have small patch for new Intel Silvermont machines. http://newsroom.intel.com/community/intel_newsroom/blog/2013/05/06/intel-launches-low-power-high-performance-silvermont-microarchitecture I checked this on my machine and see that strcpy, ... unaligned versions are faster than ssse3 versions.
2013-06-15Add rtld-memset.S for x86_64Siddhesh Poyarekar
Resolves: BZ #15627 Add an assembler version of rtld-memset to avoid using SSE registers.
2013-06-14Make tst-strtod-round use ROUNDING_TESTS.Joseph Myers
2013-06-14MicroBlaze: negated errors in lowlevellock.hKirk Meyer
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-13Fix raciness in waitid test.Roland McGrath
2013-06-14Avoid access beyond memory bounds in pthread_attr_getaffinity_npSiddhesh Poyarekar
Resolves BZ #15618. pthread_attr_getaffinity_np may write beyond bounds of the input cpuset buffer if the size of the input buffer is smaller than the buffer present in the input pthread attributes. Fix is to copy to the extent of the minimum of the source and the destination.
2013-06-13Fix NEWS entry about clock precisionSiddhesh Poyarekar
Text by Roland McGrath.
2013-06-13Don't let ld.so that failed its sanity check land in place.Roland McGrath
2013-06-13tile: default to little-endian in bits/endian.hChris Metcalf
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-13Rework tst-strtod-round handling of inexact results.Joseph Myers
2013-06-13Fix formatting of commentAndreas Jaeger
2013-06-13Update sv_FI@euroJohan Heikkila
[BZ#15432] * locales/sv_FI@euro: Add LC_MEASUREMENT.
2013-06-13Update sv_FIJohan Heikkila
[BZ#15431] * locales/sv_FI: Add LC_MEASUREMENT, use copy in LC_TELEPHONE, update LC_ADDRESS with using postal_fmt from Finnish Post Office recommendations at http://www.posti.fi/hinnatjaohjeet/osoitejakuorimerkinnat/osoitemerkinnat.html and add missing entries.
2013-06-13Fix ChangeLog entrySiddhesh Poyarekar
2013-06-13Improve precision of clock() function on LinuxSiddhesh Poyarekar
Resolves #12515. Use CLOCK_PROCESS_CPUTIME_ID instead of times to get better precision in the value returned by clock.
2013-06-12Fix unsafe compiler optimizationAdhemerval Zanella
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.
2013-06-12Make more libm tests condition exceptions tests with math-tests.h.Joseph Myers
2013-06-12Update Interlingua translation from translation projectAndreas Jaeger
2013-06-12Set/restore rounding mode only when neededSiddhesh Poyarekar
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.
2013-06-11Convert iso-639.def to utf-8Siddhesh Poyarekar
2013-06-11Add exception information to math-tests.h and use it in libm-test.inc.Joseph Myers
2013-06-11Port remaining string benchmarksSiddhesh Poyarekar
There were a few more string benchmarks (strcpy_chk and stpcpy_check) in the debug directory that needed to be ported over.
2013-06-11PowerPC: Remove redundant ports/sysdeps/powerpc/dl-procinfo.[ch].Ryan S. Arnold
2013-06-11PowerPC: Merge ports/ dl-procinfo.[ch] with base.Ryan S. Arnold
2013-06-11Update BIG5-HKSCS charmap to HKSCS-2008Andreas Schwab
2013-06-11Fix indentation and add copyright header to time.hSiddhesh Poyarekar
2013-06-11Remove performance-related bits from string testsSiddhesh Poyarekar
2013-06-11Copy over string performance tests into benchtestsSiddhesh Poyarekar
Copy over already existing string performance tests into benchtests. Bits not related to performance measurements have been omitted.
2013-06-11Begin porting string performance tests to benchtestsSiddhesh Poyarekar
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-*.
2013-06-11Fix handling of netgroup cache in nscdAndreas Schwab
2013-06-11Update Chinese (traditional) translation from translation projectAndreas Jaeger
2013-06-11Fix-trailing-whitespaces-in-libidn.Ondrej Bilka
2013-06-11Fix symbol definitions for __clock_* functionsSiddhesh Poyarekar
__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.
2013-06-10Remove trailing whitespace from mach/*.sub.Joseph Myers
2013-06-10x86*: Return syscall error for lll_futex_wake.Carlos O'Donell
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.