aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-06-20PowerPC: Enable POWER8 platform sans hwcap bits.rsa/power8_partialRyan S. Arnold7-3/+34
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-17PowerPC: Reserve TCB space for EBB frameworkAdhemerval Zanella2-0/+10
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 Myers3-9/+27
2013-06-17Sort sysd-rules-patterns by descending pattern length.Roland McGrath5-9/+32
2013-06-17Rewrite sysd-rules generation using an awk script.Roland McGrath4-34/+79
2013-06-17Use math-tests.h more in math/test-misc.Joseph Myers2-2/+15
2013-06-15Fix spurious "inexact" exceptions from dbl-64 sqrt (bug 15631).Joseph Myers3-3/+21
2013-06-15Add another fma test.Joseph Myers2-0/+5
2013-06-15Add documentation for default pthread attribute functionsSiddhesh Poyarekar2-0/+44
2013-06-15New API to set default thread attributesSiddhesh Poyarekar49-13/+817
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 Myers7-29/+23
2013-06-14Update ARM _FPU_RESERVED value.Joseph Myers3-3/+9
2013-06-14Add math-tests.h for MIPS.Joseph Myers2-0/+41
2013-06-14Set fast unaligned load flag for new Intel microarchitectureLiubov Dmitrieva2-0/+12
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 Poyarekar4-2/+45
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 Myers2-9/+38
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-13Fix raciness in waitid test.Roland McGrath2-4/+18
2013-06-14Avoid access beyond memory bounds in pthread_attr_getaffinity_npSiddhesh Poyarekar5-2/+81
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 Poyarekar2-1/+7
Text by Roland McGrath.
2013-06-13Don't let ld.so that failed its sanity check land in place.Roland McGrath2-2/+10
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-13Rework tst-strtod-round handling of inexact results.Joseph Myers3-45/+737
2013-06-13Fix formatting of commentAndreas Jaeger1-1/+1
2013-06-13Update sv_FI@euroJohan Heikkila3-3/+7
[BZ#15432] * locales/sv_FI@euro: Add LC_MEASUREMENT.
2013-06-13Update sv_FIJohan Heikkila3-10/+27
[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 Poyarekar1-1/+1
2013-06-13Improve precision of clock() function on LinuxSiddhesh Poyarekar3-30/+34
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 Zanella3-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.
2013-06-12Make more libm tests condition exceptions tests with math-tests.h.Joseph Myers4-51/+66
2013-06-12Update Interlingua translation from translation projectAndreas Jaeger2-180/+190
2013-06-12Set/restore rounding mode only when neededSiddhesh Poyarekar4-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.
2013-06-11Convert iso-639.def to utf-8Siddhesh Poyarekar2-5/+9
2013-06-11Add exception information to math-tests.h and use it in libm-test.inc.Joseph Myers5-18/+60
2013-06-11Port remaining string benchmarksSiddhesh Poyarekar7-25/+361
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. Arnold3-268/+7
2013-06-11PowerPC: Merge ports/ dl-procinfo.[ch] with base.Ryan S. Arnold5-80/+124
2013-06-11Update BIG5-HKSCS charmap to HKSCS-2008Andreas Schwab9-11832/+13302
2013-06-11Fix indentation and add copyright header to time.hSiddhesh Poyarekar2-4/+23
2013-06-11Remove performance-related bits from string testsSiddhesh Poyarekar26-620/+53
2013-06-11Copy over string performance tests into benchtestsSiddhesh Poyarekar62-1/+5053
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 Poyarekar6-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-*.
2013-06-11Fix handling of netgroup cache in nscdAndreas Schwab5-15/+33
2013-06-11Update Chinese (traditional) translation from translation projectAndreas Jaeger2-1309/+1476
2013-06-11Fix-trailing-whitespaces-in-libidn.Ondrej Bilka5-394/+401
2013-06-11Fix symbol definitions for __clock_* functionsSiddhesh Poyarekar13-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.
2013-06-10Remove trailing whitespace from mach/*.sub.Joseph Myers4-31/+35
2013-06-10x86*: Return syscall error for lll_futex_wake.Carlos O'Donell3-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.