aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-25PowerPC: Set/restore rounding mode only when neededAdhemerval Zanella
This patch helps some math functions performance by adding the libc_fexxx variant of inline functions to handle both FPU round and exception set/restore and by using them on the libc_fexxx_ctx functions. It is based on already coded fexxx family functions for PPC with fpu. Here is the summary of performance improvements due this patch (measured on a POWER7 machine): Before: cos(): ITERS:9.5895e+07: TOTAL:5116.03Mcy, MAX:77.6cy, MIN:49.792cy, 18744 calls/Mcy exp(): ITERS:2.827e+07: TOTAL:5187.15Mcy, MAX:494.018cy, MIN:38.422cy, 5450.01 calls/Mcy pow(): ITERS:6.1705e+07: TOTAL:5144.26Mcy, MAX:171.95cy, MIN:29.935cy, 11994.9 calls/Mcy sin(): ITERS:8.6898e+07: TOTAL:5117.06Mcy, MAX:83.841cy, MIN:46.582cy, 16982 calls/Mcy tan(): ITERS:2.9473e+07: TOTAL:5115.39Mcy, MAX:191.017cy, MIN:172.352cy, 5761.63 calls/Mcy After: cos(): ITERS:2.05265e+08: TOTAL:5111.37Mcy, MAX:78.754cy, MIN:24.196cy, 40158.5 calls/Mcy exp(): ITERS:3.341e+07: TOTAL:5170.84Mcy, MAX:476.317cy, MIN:15.574cy, 6461.23 calls/Mcy pow(): ITERS:7.6153e+07: TOTAL:5129.1Mcy, MAX:147.5cy, MIN:30.916cy, 14847.2 calls/Mcy sin(): ITERS:1.58816e+08: TOTAL:5115.11Mcy, MAX:1490.39cy, MIN:22.341cy, 31048.4 calls/Mcy tan(): ITERS:3.4964e+07: TOTAL:5114.18Mcy, MAX:177.422cy, MIN:146.115cy, 6836.68 calls/Mcy
2013-11-24Add lang_name to various locales.Chris Leonard
2013-11-23revert error-generated by bs_BA.Chris Leonard
2013-11-23Add lang_name to various locales.Chris Leonard
2013-11-23Add lang_name to various locales.Chris Leonard
2013-11-22ARM: Fix memcpy computed-jump calculations for ARM_ALWAYS_BX case.Roland McGrath
2013-11-22Add lang_name to German, English, Spanish, French locales.Chris Leonard
2013-11-21Add missing #include for malloc/hooks.c code.Roland McGrath
2013-11-21Adjust generic swapon prototype to match Linux version.Roland McGrath
2013-11-21Use __glibc_block in public headers.Meador Inge
As detailed in PR11157, the use of '__block' is known to interfere with keywords in some environments, such as the Clang -fblocks extension. Recently a similar issue was raised concerning the use of '__unused' and a '__glibc' prefix was proposed to create a glibc implementation namespace for these sorts of issues [1]. This patches takes that approach. [1] https://sourceware.org/ml/libc-alpha/2012-02/msg00047.html [2] http://lists.debian.org/debian-glibc/2013/11/msg00020.html
2013-11-21Don't use broken DL_AUTO_FUNCTION_ADDRESS()Guy Martin
On hppa and ia64, the macro DL_AUTO_FUNCTION_ADDRESS() uses the variable fptr[2] in it's own scope. The content of fptr[] is thus undefined right after the macro exits. Newer gcc's (>= 4.7) reuse the stack space of this variable triggering a segmentation fault in dl-init.c:69. To fix this we rewrite the macros to make the call directly to init and fini without needing to pass back a constructed function pointer.
2013-11-21Add lang_name to Arabic locales.Chris Leonard
2013-11-20linux-generic: fix alignment of struct stat/statfs for nios2Chung-Lin Tang
The hard alignment of 8 was appropriate for most platforms for which 8-byte values are 8-byte aligned, but this is not true for the nios2 platform, so only align to the alignment of the 8-byte type on the platform. Remove the explicit alignment of struct statfs as it's redundant.
2013-11-20Fix missing > on email.Paul Pluzhnikov
2013-11-20Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9Paul Pluzhnikov
gcc (GCC) 4.9.0 20131114 (experimental) 2013-11-20 Paul Pluzhnikov <ppluzhnikov@google.com * Makefile (tst-cleanup2, tst-cleanupx2): Add -fno-builtin
2013-11-20Revert "Fix failure in nptl/tst-cleanup when building with"Paul Pluzhnikov
This reverts commit 78271fa91a1e6902222e892068750059ec21f396. Actually, a different fix is needed.
2013-11-20Fix failure in nptl/tst-cleanup when building withPaul Pluzhnikov
gcc (GCC) 4.9.0 20131114 (experimental) 2013-11-20 Paul Pluzhnikov <ppluzhnikov@google.com> * nptl/tst-cleanup2.c (do_test): Handle SIGILL as well.
2013-11-20Consolidate valloc/pvalloc code.Ondřej Bílka
To make malloc code more maintainable we make malloc and pvalloc share logic with memalign.
2013-11-20Fix build warning in locarchive.cSiddhesh Poyarekar
2013-11-20Rename Oriya locale to Odia (bug 15601)Siddhesh Poyarekar
The state of Orissa was officially renamed the state to Odisha and the language from Oriya to Odia in 2010. References: http://zeenews.india.com/election09/story.aspx?aid=739995 http://orissamatters.com/2011/11/07/orissa-became-odisha/ http://www.ndtv.com/article/india/parliament-passes-bill-to-change-orissa-s-name-93888 http://orissa.gov.in/e-magazine/Orissareview/2011/Nov/engpdf/9-17.pdf
2013-11-20Fix ChangeLog formattingSiddhesh Poyarekar
2013-11-20Add systemtap probe markers for sin, cos, asin and acosSiddhesh Poyarekar
2013-11-20Fix ChangeLog formattingSiddhesh Poyarekar
2013-11-19Make powerpc-nofpu floating-point state thread-local (bug 15483).Joseph Myers
2013-11-19Complete display of LC_MONETARYAndreas Schwab
2013-11-18test-fpucw-ieee: Don't use _FPU_IEEE if not definedChris Metcalf
Not all architectures define this value, and if they don't, just let the test run the same as test-fpucw, with __fpu_control set to _FPU_DEFAULT explicitly.
2013-11-18Adjust AT_EXECFN when using explicit loader invocation.Paul Pluzhnikov
2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com> * elf/Makefile (tst-auxv): New test. * elf/tst-auxv.c: New * elf/rtld.c (dl_main): Adjust AT_EXECFN
2013-11-18Adjust AT_EXECFN when using explicit loader invocation.Paul Pluzhnikov
2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com> * elf/Makefile (tst-auxv): New test. * elf/tst-auxv.c: New * elf/rtld.c (dl_main): Adjust AT_EXECFN
2013-11-18Define TLS version of libc_hidden_proto.Joseph Myers
2013-11-18Revert b75891075bece24be9fd85618f18af4a2daf7f1cOndřej Bílka
2013-11-18[BZ #16144] Duplicated abday value for tk_TM.Chris Leonard
2013-11-18Fix breaking of RPATH when $ORIGIN contains colons. Fixes bug 10253Ondřej Bílka
We first expanded origin and then split string by colons. This misbehaves when $ORIGIN contain colon so we first split string, then expand $ORIGIN.
2013-11-18benchtests: Add strsep benchmarkRajalakshmi Srinivasaraghavan
2013-11-18Remove unused variable.Ondřej Bílka
2013-11-18Properly handle unavailable elements in LC_MONETARY categoryAndreas Schwab
2013-11-18Do not let scanf("%4p") accept "(nil)". Fixes bug 16055Ondřej Bílka
2013-11-17Correct wae_CH to UTF-8 encoding.Chris Leonard
2013-11-16Test signs of NaNs in libm-test.inc where appropriate.Joseph Myers
2013-11-16Add libm-test support for ignored return value, add more lrint / llrint / ↵Joseph Myers
lround / llround tests.
2013-11-16Replace libm-test.inc TEST_INLINE conditionals with NO_TEST_INLINE flag.Joseph Myers
2013-11-16Make libm-test.inc check for "inexact" exceptions for NaN argument.Joseph Myers
2013-11-16Fix spurious "inexact" exceptions from x86 pow with NaN argument (bug 16167).Joseph Myers
2013-11-15New locale for the_NP.Arun Kumar Pyasi
2013-11-16alpha: Fix signal thunk unwind infoRichard Henderson
2013-11-15Add Chitwani Tharu (the)Chris Leonard
2013-11-14[BZ #16143] pap_* locales have duplicated LC_NUMERIC section.Chris Leonard
2013-11-14[BZ #16103] LC_MEASUREMENT review and standardizationChris Leonard
2013-11-14Fix country_num element in LC_ADDRESS for C localeAndreas Schwab
2013-11-13PowerPC: Fix __fe_mask_env exportAdhemerval Zanella
Change SHLIB_COMPAT calls to GLIBC_2_19 for __fe_nomask_env symbol.
2013-11-132013-11-13 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* benchtests/bench-timing.h: Include time.h.