aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-04Use static initializers for constant variables in libm-test.inc.Joseph Myers
2013-05-03Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}.Roland McGrath
2013-05-03Fix NEED_DL_SYSINFO{,_DSO} conditionalization in _dl_sysdep_start.Roland McGrath
2013-05-03PowerPC: Add time vDSO supportAdhemerval Zanella
PowerPC kernel now provides a vDSO implementation for time syscall (commit fcb41a2030abe0eb716ef0798035ef9562097f42). This patch changes time syscall wrapper to use the vDSO when available. It also changes the default non vDSO time on PowerPC to use sysdeps/posix/time.c (since gettimeofday is a vDSO call).
2013-05-03Consistently use TEST_f_f1 in lgamma tests.Joseph Myers
2013-05-03Don't use IGNORE_ZERO_INF_SIGN in hypot tests.Joseph Myers
2013-05-03Sync with Linux 3.9Andreas Jaeger
* sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from Linux 3.9. * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. (PF_MAX): Adjust for VSOCK change.
2013-05-03Update powerpc libm-test ULPsAdhemerval Zanella
2013-05-02Add yesstr and nostr to en_CA, es_AR, and es_ESCarlos O'Donell
We add yesstr and nostr to three more locales. We ignore the issue of capitalization of the first character in yesstr and nostr. All locales will need to be revisited to make this uniform policy change. --- 2013-05-02 Carlos O'Donell <carlos@redhat.com> [BZ #15264] * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr. * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES. * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2013-05-03Add bug 14952 to ChangeLog and NEWSAllan McRae
Fixed with commit 0695940b.
2013-05-02Update Sparc ULPs.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-05-01Remove duplicate __strcmp_cgOndrej Bilka
The __strcmp_cg code was duplicate of of __strcmp_gc. This patch unifies these two cases into one.
2013-05-01Add missing #include in sysdeps/posix/opendir.c.Roland McGrath
2013-05-01Use __gnu_inline__ for __extern_always_inline in g++-4.2Richard Smith
Use the __gnu_inline__ attribute in _FORTIFY_SOURCE's __extern_always_inline macro whenever the compiler supports it. Previously this macro only included the __gnu_inline__ attribute in C++ mode for gcc >= 4.3. However, __gnu_inline__ semantics are always desired for the __extern_always_inline functions, and are available in g++ 4.2 (and some releases of g++ 4.1, and also in Clang, which claims to be g++ 4.2). This change stops g++-4.2 from emitting weak definitions for the fortify wrapper functions if they can't be inlined, and also improves Clang compatibility.
2013-05-01Fix catan, catanh spurious underflows (bug 15423).Joseph Myers
2013-04-30Update powerpc libm-test ULPsAdhemerval Zanella
2013-04-30Add bug 15416 to NEWS.Joseph Myers
2013-04-30Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).Joseph Myers
2013-04-30Format s_sin.cSiddhesh Poyarekar
2013-04-30Allow multiple input domains to be run in the same benchmark programSiddhesh Poyarekar
Some math functions have distinct performance characteristics in specific domains of inputs, where some inputs return via a fast path while other inputs require multiple precision calculations, that too at different precision levels. The way to implement different domains was to have a separate source file and benchmark definition, resulting in separate programs. This clutters up the benchmark, so this change allows these domains to be consolidated into the same input file. To do this, the input file format is now enhanced to allow comments with a preceding # and directives with two # at the begining of a line. A directive that looks like: tells the benchmark generation script that what follows is a different domain of inputs. The value of the 'name' directive (in this case, foo) is used in the output. The two input domains are then executed sequentially and their results collated separately. with the above directive, there would be two lines in the result that look like: func(): .... func(foo): ...
2013-04-30Maintain runtime of each benchmark at ~10 secondsSiddhesh Poyarekar
The idea to run benchmarks for a constant number of iterations is problematic. While the benchmarks may run for 10 seconds on x86_64, they could run for about 30 seconds on powerpc and worse, over 3 minutes on arm. Besides that, adding a new benchmark is cumbersome since one needs to find out the number of iterations needed for a sufficient runtime. A better idea would be to run each benchmark for a specific amount of time. This patch does just that. The run time defaults to 10 seconds and it is configurable at command line: make BENCH_DURATION=5 bench
2013-04-29Make stub fchdir.c define __fchdir.Roland McGrath
2013-04-29Integrate errno testing better in libm-test.inc.Joseph Myers
2013-04-29BZ#15084: Apparent typos in strings in res_debug.cAndreas Jaeger
[BZ #15084] * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING and RES_USEVC.
2013-04-29BZ#15085: Fix comments/strings for RES_NOCHECKNAMEAndreas Jaeger
[BZ #15085] * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as unimplemented.
2013-04-29BZ#15380: Fix initstate error returnAndreas Jaeger
[BZ #15380] * stdlib/random.c (__initstate): Return NULL if __initstate fails.
2013-04-29BZ#15086: Fix res_debug printing of optionsAndreas Jaeger
[BZ# 15086] * resolv/res_debug.c (p_option): Handle RES_NOALIASES, RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, RES_SNGLKUPREOP.
2013-04-29Update powerpc libm-test ULPsAdhemerval Zanella
2013-04-29Add missing semicolons to libm-test.inc tests.Joseph Myers
2013-04-27Fix catan, catanh spurious overflows (bug 15409).Joseph Myers
2013-04-27Fix ia_FR postal formatNik Kalach
2013-04-27 Nik Kalach <nikka@fedoraproject.org> [BZ #15221] * locales/ia_FR: Fix postal_fmt definition.
2013-04-27Fix guards for qecvtAndreas Jaeger
[BZ #15007] * stdlib/stdlib.h: Update guards for qecvt. * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with <stdlib.h>.
2013-04-27Update i386 libm-test ULPsAllan McRae
2013-04-26Fix catan, catanh missing underflows (bug 15406).Joseph Myers
2013-04-26Fix csin, csinh, ccos, ccosh missing underflows (bug 15405).Joseph Myers
2013-04-26PowerPC: modf optimization fixAdhemerval Zanella
This patch fix the 3c0265394d9ffedff2b0de508602dc52e077ce5c commits by correctly setting minimum architecture for modf PPC optimization to power5+ instead of power5 (since only on power5+ round/ceil will be inline to inline assembly).
2013-04-26Update x86_64 ULPsMarkus Trippelsdorf
2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de> * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2013-04-25Add missing bug numbers to NEWS.Joseph Myers
2013-04-25Move x86_64-specific audit tests to sysdeps/x86_64/.Joseph Myers
2013-04-25Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROSPaul Pluzhnikov
2013-04-25Declare __ehdr_start with hidden visibility.Maciej W. Rozycki
This avoids a linker bug triggering for MIPS SVR4 binaries: http://sourceware.org/bugzilla/show_bug.cgi?id=15365 and regardless serves as a documentation of intent.
2013-04-25soft-fp: s/sNAN/NAN/ -- no sNaNs are ever produced.Maciej W. Rozycki
2013-04-24math: Use accurate answers for cos and sincos.Carlos O'Donell
Use the most accurate hex literals possible for the answers to the cos and sincos tests that vary according to the error in the rounding of PI/2. --- 2013-04-24 Carlos O'Donell <carlos@redhat.com> * math/libm-test.inc (cos_test): Use accurate hex constants. (sincost_test): Likewise.
2013-04-24Add catan, catanh tests at +/- 1 and +/- i.Joseph Myers
2013-04-24Use suffixed floating-point constants in float and long double catan/catanh.Joseph Myers
2013-04-24Fix catan, catanh inaccuracy through use of log (bug 15394).Joseph Myers
2013-04-24Mention files in which fast/slow paths of math functions are implementedSiddhesh Poyarekar
2013-04-23Fix name space use in last commit.Roland McGrath
2013-04-23Add generic POSIX implementation of C11 timespec_get.Roland McGrath
2013-04-23PowerPC: modf optimizationAdhemerval Zanella
This patch implements modf/modff optimization for POWER by focus on FP operations instead of relying in integer ones.