summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* PowerPC: Add time vDSO supportAdhemerval Zanella2013-05-035-3/+81
| | | | | | | | 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).
* Consistently use TEST_f_f1 in lgamma tests.Joseph Myers2013-05-032-10/+11
|
* Don't use IGNORE_ZERO_INF_SIGN in hypot tests.Joseph Myers2013-05-032-2/+7
|
* Sync with Linux 3.9Andreas Jaeger2013-05-033-1/+11
| | | | | | | | * 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.
* Update powerpc libm-test ULPsAdhemerval Zanella2013-05-032-0/+100
|
* Add yesstr and nostr to en_CA, es_AR, and es_ESCarlos O'Donell2013-05-024-2/+23
| | | | | | | | | | | | | | | | 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.
* Add bug 14952 to ChangeLog and NEWSAllan McRae2013-05-032-5/+7
| | | | Fixed with commit 0695940b.
* Update Sparc ULPs.David S. Miller2013-05-022-24/+4129
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Remove duplicate __strcmp_cgOndrej Bilka2013-05-012-24/+5
| | | | | The __strcmp_cg code was duplicate of of __strcmp_gc. This patch unifies these two cases into one.
* Add missing #include in sysdeps/posix/opendir.c.Roland McGrath2013-05-012-0/+5
|
* Use __gnu_inline__ for __extern_always_inline in g++-4.2Richard Smith2013-05-012-8/+14
| | | | | | | | | | | | | 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.
* Fix catan, catanh spurious underflows (bug 15423).Joseph Myers2013-05-0111-98/+920
|
* Update powerpc libm-test ULPsAdhemerval Zanella2013-04-302-2/+418
|
* Add bug 15416 to NEWS.Joseph Myers2013-04-301-1/+1
|
* Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).Joseph Myers2013-04-3010-14/+909
|
* Format s_sin.cSiddhesh Poyarekar2013-04-302-904/+1214
|
* Allow multiple input domains to be run in the same benchmark programSiddhesh Poyarekar2013-04-3023-231/+204
| | | | | | | | | | | | | | | | | | | | | | | | 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): ...
* Maintain runtime of each benchmark at ~10 secondsSiddhesh Poyarekar2013-04-305-36/+54
| | | | | | | | | | | | | | | 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
* Make stub fchdir.c define __fchdir.Roland McGrath2013-04-292-2/+7
|
* Integrate errno testing better in libm-test.inc.Joseph Myers2013-04-293-199/+157
|
* BZ#15084: Apparent typos in strings in res_debug.cAndreas Jaeger2013-04-293-6/+10
| | | | | | [BZ #15084] * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING and RES_USEVC.
* BZ#15085: Fix comments/strings for RES_NOCHECKNAMEAndreas Jaeger2013-04-294-7/+12
| | | | | | | [BZ #15085] * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as unimplemented.
* BZ#15380: Fix initstate error returnAndreas Jaeger2013-04-293-3/+8
| | | | | | [BZ #15380] * stdlib/random.c (__initstate): Return NULL if __initstate fails.
* BZ#15086: Fix res_debug printing of optionsAndreas Jaeger2013-04-293-4/+17
| | | | | | | [BZ# 15086] * resolv/res_debug.c (p_option): Handle RES_NOALIASES, RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, RES_SNGLKUPREOP.
* Update powerpc libm-test ULPsAdhemerval Zanella2013-04-292-27/+3322
|
* Add missing semicolons to libm-test.inc tests.Joseph Myers2013-04-292-363/+370
|
* Fix catan, catanh spurious overflows (bug 15409).Joseph Myers2013-04-2711-91/+492
|
* Fix ia_FR postal formatNik Kalach2013-04-273-8/+13
| | | | | | | 2013-04-27 Nik Kalach <nikka@fedoraproject.org> [BZ #15221] * locales/ia_FR: Fix postal_fmt definition.
* Fix guards for qecvtAndreas Jaeger2013-04-274-11/+15
| | | | | | | [BZ #15007] * stdlib/stdlib.h: Update guards for qecvt. * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with <stdlib.h>.
* Update i386 libm-test ULPsAllan McRae2013-04-272-0/+84
|
* Fix catan, catanh missing underflows (bug 15406).Joseph Myers2013-04-269-7/+152
|
* Fix csin, csinh, ccos, ccosh missing underflows (bug 15405).Joseph Myers2013-04-2612-1/+148
|
* PowerPC: modf optimization fixAdhemerval Zanella2013-04-265-0/+15
| | | | | | | 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).
* Update x86_64 ULPsMarkus Trippelsdorf2013-04-262-0/+248
| | | | | | 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de> * sysdeps/x86_64/fpu/libm-test-ulps: Update.
* Add missing bug numbers to NEWS.Joseph Myers2013-04-251-5/+5
|
* Move x86_64-specific audit tests to sysdeps/x86_64/.Joseph Myers2013-04-2519-47/+140
|
* Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROSPaul Pluzhnikov2013-04-253-20/+9
|
* Declare __ehdr_start with hidden visibility.Maciej W. Rozycki2013-04-252-1/+5
| | | | | | | | 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.
* soft-fp: s/sNAN/NAN/ -- no sNaNs are ever produced.Maciej W. Rozycki2013-04-252-1/+5
|
* math: Use accurate answers for cos and sincos.Carlos O'Donell2013-04-242-10/+15
| | | | | | | | | | | | | 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.
* Add catan, catanh tests at +/- 1 and +/- i.Joseph Myers2013-04-242-0/+21
|
* Use suffixed floating-point constants in float and long double catan/catanh.Joseph Myers2013-04-245-28/+34
|
* Fix catan, catanh inaccuracy through use of log (bug 15394).Joseph Myers2013-04-2411-10/+130
|
* Mention files in which fast/slow paths of math functions are implementedSiddhesh Poyarekar2013-04-242-12/+17
|
* Fix name space use in last commit.Roland McGrath2013-04-231-1/+1
|
* Add generic POSIX implementation of C11 timespec_get.Roland McGrath2013-04-232-0/+42
|
* PowerPC: modf optimizationAdhemerval Zanella2013-04-237-1/+160
| | | | | This patch implements modf/modff optimization for POWER by focus on FP operations instead of relying in integer ones.
* Consistently use ISSPACE to check for whitespaceSiddhesh Poyarekar2013-04-235-7/+58
| | | | | | | | Resolves #14888. This only really manifests itself when there are no spaces between format specifiers, which is not allowed by POSIX, but is allowed by the glibc implementation.
* Remove non-standard initialisation of flexible array memberAndreas Schwab2013-04-232-1/+14
| | | | This avoids GCC bug 28865.
* S/390: Change struct statfs[64] member types to unsigned valuesHeiko Carstens2013-04-232-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kay Sievers reported that coreutils' stat tool has a problem with s390's statfs[64] definition: > The definition of struct statfs::f_type needs a fix. s390 is the only > architecture in the kernel that uses an int and expects magic > constants lager than INT_MAX to fit into. > > A fix is needed to make Fedora boot on s390, it currently fails to do > so. Userspace does not want to add code to paper-over this issue. [...] > Even coreutils cannot handle it: > #define RAMFS_MAGIC 0x858458f6 > # stat -f -c%t / > ffffffff858458f6 > > #define BTRFS_SUPER_MAGIC 0x9123683E > # stat -f -c%t /mnt > ffffffff9123683e The bug is caused by an implicit sign extension within the stat tool: out_uint_x (pformat, prefix_len, statfsbuf->f_type); where the format finally will be "%lx". A similar problem can be found in the 'tail' tool. s390 is the only architecture which has an int type f_type member in struct statfs[64]. Other architectures have either unsigned ints or long values, so that the problem doesn't occur there. Therefore change the type of the f_type member to unsigned int, so that we get zero extension instead sign extension when assignment to a long value happens. Reported-by: Kay Sievers <kay@vrfy.org> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>