Thomas Schwinge [Sun, 26 May 2013 19:59:24 +0000 (21:59 +0200)]
* stdio-common/bug26.c (main): Correct fscanf template.
Fixup for commit
6ecec3b616aeaf121c68c1053cd17fdcf0cdb5a2.
Thomas Schwinge [Sun, 26 May 2013 17:48:25 +0000 (19:48 +0200)]
_dl_skip_args declaration cleanup.
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
declare _dl_skip_args.
Continuation of commit
8347c74cc5c972aa9e57747177b1f5f4b1cbcac8.
Thomas Schwinge [Sun, 26 May 2013 16:53:19 +0000 (18:53 +0200)]
_dl_non_dynamic_init declaration cleanup.
* sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
Don't declare.
Continuation of commit
bc16e260d0e74b36e48d30edc6ea4f1152700c09.
Thomas Schwinge [Sun, 26 May 2013 16:06:30 +0000 (18:06 +0200)]
* manual/platform.texi: Add missing @end deftypefun.
Fixup for commit
d116b7c414c8239b677e341ac517745db689ac2d.
Joseph Myers [Fri, 24 May 2013 20:52:55 +0000 (20:52 +0000)]
Fix ldbl-96 hypotl of subnormals (bug 15529).
Joseph Myers [Fri, 24 May 2013 20:33:14 +0000 (20:33 +0000)]
Test drem and pow10 in libm-test.inc.
Joseph Myers [Fri, 24 May 2013 20:30:36 +0000 (20:30 +0000)]
Add bug 14894 to NEWS.
Joseph Myers [Fri, 24 May 2013 19:21:22 +0000 (19:21 +0000)]
Use same tests for isfinite/finite, lgamma/gamma.
Adhemerval Zanella [Fri, 24 May 2013 18:29:30 +0000 (13:29 -0500)]
PowerPC: Program Priority Register support
This patch add inline functions to change the Program Priority Register
from ISA 2.05.
Carlos O'Donell [Fri, 24 May 2013 18:03:14 +0000 (14:03 -0400)]
Correctly compute ulp near zero.
The current value used for ulp near zero is wrong,
and this commit fixes it such that ulp(0) is the smallest
subnormal value nearest to zero, which makes the most
sense for testing values near zero. Note that this is not
what Java does; they use the nearest normal value, which
is less accurate than what we want for glibc. Note that
there is no correct implementation of ulp since there
is no strict mathmatical definition that is accepted by
all groups using IEEE 754.
Previously with the large ulp values near zero there
were tests that previously passed, but were in fact
billions of ulp away from the precise answer. With this
commit we now need to disable one of the cpow tests which
is revealed to be inaccurate (bug 14473).
---
2013-05-24 Carlos O'Donell <carlos@redhat.com>
* math/libm-test.inc (MAX_EXP): Define.
(ULPDIFF): Define.
(ulp): New function.
(check_float_internal): Use ULPDIFF.
(cpow_test): Disable failing test.
(check_ulp): Test ulp() implemetnation.
(main): Call check_ulp before starting tests.
Chris Metcalf [Fri, 24 May 2013 18:02:31 +0000 (14:02 -0400)]
tile: improve detection for missing -mcmodel=large support
The existing test avoided passing -mcmodel=large if the compiler didn't
support it. However, we need to test not just the compiler support, but
also the toolchain (as and ld) support, so make the test more complete.
In addition, we have to avoid using the hwN_plt() assembly operators if
that support is missing, so guard the uses with #ifdef NO_PLT_PCREL.
This allows us to properly build glibc with the current community
binutils, which doesn't yet have the PC-relative PLT operator support.
The -mcmodel=large support is in gcc 4.8, but the toolchain support
won't be present in the community until binutils 2.24.
Joseph Myers [Fri, 24 May 2013 13:10:42 +0000 (13:10 +0000)]
Remove libm-test START_DATA and END_DATA.
Joseph Myers [Fri, 24 May 2013 12:22:04 +0000 (12:22 +0000)]
Make libm-test START and END into ordinary macros.
Ondrej Bilka [Fri, 24 May 2013 06:34:10 +0000 (08:34 +0200)]
Initialize wide struct info.
Fixes 15381.
Using wide character function is on byte oriented memstream is undefined
behaviour. This behaviour was masked by not initializing wide struct
info. We now initialize it to cause a predictable crash.
Ryan S. Arnold [Thu, 23 May 2013 15:39:05 +0000 (10:39 -0500)]
Edjunior Machado [Thu, 23 May 2013 15:06:24 +0000 (10:06 -0500)]
PowerPC: Add functions for shared resources hints.
Marcus Shawcroft [Thu, 23 May 2013 15:08:49 +0000 (16:08 +0100)]
[AArch64] Fix up ChangeLog formatting for last commit.
Marcus Shawcroft [Thu, 23 May 2013 13:47:15 +0000 (14:47 +0100)]
[AArch64] Use generic "mcount" routine for profiling.
Carlos O'Donell [Thu, 23 May 2013 03:22:36 +0000 (23:22 -0400)]
Update comments in ldconfig.c and dl-hwcaps.c.
In dl-hwcaps.c the comment read that rounding was done
to ElfW(Addr), but it's actually rounded to ElfW(Word).
In ldconfig.c we make each comment a sentence and
mention that the "tls" pseudo-hwcap is just for legacy
installations where TLS was optional.
---
2013-05-22 Carlos O'Donell <carlos@redhat.com>
* elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
(main): Mention "tls" pseudo-hwcap is legacy.
* elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
Joseph Myers [Wed, 22 May 2013 21:01:44 +0000 (21:01 +0000)]
Don't include function names in test data in generated libm-test.c.
Edjunior Barbosa Machado [Wed, 22 May 2013 19:19:49 +0000 (14:19 -0500)]
Update bits/siginfo.h with Linux hwpoison SIGBUS changes
Adds new SIGBUS error codes for hardware poison signals, syncing with
the current kernel headers (v3.9). It also adds si_trapno field for
alpha.
Carlos O'Donell [Wed, 22 May 2013 18:50:26 +0000 (14:50 -0400)]
Fix _nl_find_msg malloc failure case, and callers.
This patch fixes two issues, and perhaps should be two distinct commits,
but I present it here as one for the sake of completeness.
Commit
006dd86111c44572dbd3b26e9c63dd0f834d7762 fails to check malloc's
return in intl/dcigettext.c (_nl_find_msg):
~~~
freemem_size = INITIAL_BLOCK_SIZE;
newmem = (transmem_block_t *) malloc (freemem_size);
...
newmem->next = transmem_list;
transmem_list = newmem;
~~~
If malloc fails then newmem is NULL then newmem->next results in a
fault.
The fix is easy enough, check for newmem != NULL, and fall through to
the error condition below which returns (char *) -1 e.g. resource error.
The problem is that returning (char *) -1 will break all sorts of other
code, so while what we did is correct, the real failure case fix is
slightly broader.
There are 4 other places where _nl_find_msg is called, one is OK, the
other three are fixed to handle -1 error return value.
No regressions on x86-64 or x86.
However, no regressions isn't really a useful metric for this code.
The change was tested as documented here:
http://sourceware.org/glibc/wiki/Testing/WhiteBox
using SystemTap for fault injection to simulate malloc failure.
---
2013-05-03 Carlos O'Donell <carlos at redhat.com>
[BZ #15441]
* intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
returns -1.
(_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
null return -1.
* intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
loading the domain.
Joseph Myers [Wed, 22 May 2013 11:49:36 +0000 (11:49 +0000)]
Don't include expected results in libm-test test names.
Siddhesh Poyarekar [Wed, 22 May 2013 05:35:04 +0000 (11:05 +0530)]
Sort benchmark functions
Siddhesh Poyarekar [Tue, 23 Apr 2013 10:59:07 +0000 (16:29 +0530)]
Add benchmark inputs for math functions
Add benchmark inputs for inverse and hyperbolic trigonometric
functions and log.
Joseph Myers [Tue, 21 May 2013 20:27:45 +0000 (20:27 +0000)]
Fix MIPS n32 cancellation in static libc (bug 15506).
Dmitry V. Levin [Thu, 16 May 2013 21:55:09 +0000 (21:55 +0000)]
Test getaddrinfo return value
This helps testing for regression of BZ#15339. Creation of network
isolated environments is a privileged operation and therefore is not
included to the test.
Siddhesh Poyarekar [Tue, 21 May 2013 16:24:41 +0000 (21:54 +0530)]
Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL
Fixes BZ #15339.
NSS_STATUS_UNAVAIL may mean that a necessary input resource is not
available. This could occur in a number of cases including when the
network is down, system runs out of file descriptors, etc. The
correct differentiator in such a case is the h_errno, which gives the
nature of failure. In case of failures other than a simple 'not
found', we set h_errno as NETDB_INTERNAL and let errno be the
identifier for the exact error.
Andreas Schwab [Mon, 21 Jan 2013 16:41:28 +0000 (17:41 +0100)]
Fix parsing of numeric hosts in gethostbyname_r
Siddhesh Poyarekar [Tue, 21 May 2013 09:29:50 +0000 (14:59 +0530)]
Add a README for benchtests
Move instructions from the Makefile here and expand on them.
Andreas Schwab [Mon, 20 May 2013 08:19:31 +0000 (10:19 +0200)]
AArch64: Don't clobber argument for tail call to __sigjmp_save in sigsetjmp
Marcus Shawcroft [Tue, 21 May 2013 08:01:19 +0000 (09:01 +0100)]
[AArch64] Update libm-test-ulps.
Adhemerval Zanella [Mon, 20 May 2013 14:35:01 +0000 (09:35 -0500)]
PowerPC: update missing CL/NEWS bug reference
Update ChangLog bugzilla number and NEWS for commit
13d3b41a36c4f28d171a144f8a9baad3a8835981 (PowerPC: fix hypot/hypotf
check for -INF).
Ondrej Bilka [Mon, 20 May 2013 06:26:00 +0000 (08:26 +0200)]
Faster memset on x64
This implementation speed up memset in several ways. First is avoiding
expensive computed jump. Second is using fact that arguments of memset
are most of time aligned to 8 bytes.
Benchmark results on:
kam.mff.cuni.cz/~ondra/benchmark_string/memset_profile_result27_04_13.tar.bz2
Ondrej Bilka [Mon, 20 May 2013 06:20:00 +0000 (08:20 +0200)]
Faster memcpy on x64.
We add new memcpy version that uses unaligned loads which are fast
on modern processors. This allows second improvement which is avoiding
computed jump which is relatively expensive operation.
Tests available here:
http://kam.mff.cuni.cz/~ondra/memcpy_profile_result27_04_13.tar.bz2
Joseph Myers [Sun, 19 May 2013 18:40:25 +0000 (18:40 +0000)]
Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).
Joseph Myers [Sun, 19 May 2013 14:45:41 +0000 (14:45 +0000)]
Handle sincos with generic libm-test logic.
Joseph Myers [Sun, 19 May 2013 14:40:40 +0000 (14:40 +0000)]
Simplify gen-libm-test.pl handling of tests with extra outputs.
Joseph Myers [Sat, 18 May 2013 12:12:38 +0000 (12:12 +0000)]
Don't disable CMPLXL macro for __NO_LONG_DOUBLE_MATH (bug 15488).
Joseph Myers [Sat, 18 May 2013 12:10:59 +0000 (12:10 +0000)]
Make libm-test look up ulps by name at runtime.
Joseph Myers [Fri, 17 May 2013 19:04:08 +0000 (19:04 +0000)]
Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).
Joseph Myers [Fri, 17 May 2013 19:02:19 +0000 (19:02 +0000)]
Simplify libm-test extra-output initialization.
Joseph Myers [Fri, 17 May 2013 19:01:27 +0000 (19:01 +0000)]
Don't handle ulps for integer tests in libm-test.inc.
Joseph Myers [Fri, 17 May 2013 14:45:50 +0000 (14:45 +0000)]
Test more cases of "inexact" exceptions in libm-test.inc.
Siddhesh Poyarekar [Fri, 17 May 2013 13:40:33 +0000 (19:10 +0530)]
Prevent optimizing out of benchmark function call
Resolves: #15424
The compiler would optimize the benchmark function call out of the
loop and call it only once, resulting in blazingly fast times for some
benchmarks (notably atan, sin and cos). Mark the inputs as volatile
so that the code is forced to read again from the input for each
iteration.
Adhemerval Zanella [Fri, 17 May 2013 13:12:16 +0000 (08:12 -0500)]
PowerPC: fix hypot/hypotf check for -INF
Maciej W. Rozycki [Thu, 16 May 2013 22:33:55 +0000 (23:33 +0100)]
MIPS: soft-fp NaN representation corrections
[BZ #15442] This adds support for the inverse interpretation of the
quiet bit of IEEE 754 floating-point NaN data that some processors
use. This includes in particular MIPS architecture processors; the
payload used for the canonical qNaN encoding is updated accordingly
so as not to interfere with the quiet bit.
Joseph Myers [Thu, 16 May 2013 21:57:25 +0000 (21:57 +0000)]
Test for errno setting in more pole error cases.
Joseph Myers [Thu, 16 May 2013 19:09:54 +0000 (19:09 +0000)]
Remove ENOSYS tests in libm-test.inc.
Joseph Myers [Thu, 16 May 2013 19:09:03 +0000 (19:09 +0000)]
Remove libm-test support for TEST_* inside functions.
Ryan S. Arnold [Wed, 1 May 2013 15:46:34 +0000 (10:46 -0500)]
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
Joseph Myers [Thu, 16 May 2013 15:53:40 +0000 (15:53 +0000)]
Convert TEST_extra tests from code to data.
Richard Henderson [Thu, 16 May 2013 13:34:01 +0000 (06:34 -0700)]
De-stringify constants in math/atest-exp2.c.
Joseph Myers [Thu, 16 May 2013 13:19:38 +0000 (13:19 +0000)]
Support testing "inexact" exceptions in libm-test.inc.
Joseph Myers [Thu, 16 May 2013 13:18:48 +0000 (13:18 +0000)]
Test for errno setting in more overflow error cases.
Joseph Myers [Thu, 16 May 2013 13:17:55 +0000 (13:17 +0000)]
Convert TEST_cc_c tests from code to data.
Joseph Myers [Thu, 16 May 2013 13:16:56 +0000 (13:16 +0000)]
Convert TEST_f_L tests from code to data.
Peter Collingbourne [Mon, 13 May 2013 15:36:12 +0000 (08:36 -0700)]
Remove const attribute on get_log2
This function is not const, as it can modify log2_m and log2_m_inited.
Carlos O'Donell [Wed, 15 May 2013 21:19:20 +0000 (17:19 -0400)]
hppa: Cleanup libm-test-ulps.
Joseph Myers noted that there were several old and really very
incorrect values in the hppa libm-test-ulps. This patch removes
all of the ulps values for ceil, floor, rint, round, trun,
llrint, and llround, all of which were previously incorreclty
added (including some negative values which are really wrong).
---
ports/
2013-05-15 Carlos O'Donell <carlos@redhat.com>
* sysdeps/hppa/fpu/libm-test-ulps: Remove old values for ceil, floor,
rint, round, trunc, llrint, and llround.
Joseph Myers [Wed, 15 May 2013 19:48:17 +0000 (19:48 +0000)]
Convert TEST_f_l tests from code to data.
Peter Collingbourne [Wed, 15 May 2013 18:33:45 +0000 (20:33 +0200)]
Use movq for 64-bit operations
The EXTRACT_WORDS64 and INSERT_WORDS64 macros use movd for a 64-bit
operation. Somehow gcc manages to turn this into movq, but LLVM won't.
2013-05-15 Peter Collingbourne <pcc@google.com>
* sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
(EXTRACT_WORDS64) Use where appropriate.
(INSERT_WORDS64) Likewise.
Peter Collingbourne [Wed, 15 May 2013 18:31:53 +0000 (20:31 +0200)]
Use x constraints for operands to vfmaddss and vfmaddsd
While these instructions accept memory operands, only one operand
may be a memory operand. Giving two operands xm constraints gives
the compiler the option of using memory for both operands, which
would result in invalid assembly code. Using x for all operands is
more appropriate, as most x86_64 calling conventions will pass the
arguments in registers anyway.
2013-05-15 Peter Collingbourne <pcc@google.com>
* sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
constraints with x constraints.
* sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
Peter Collingbourne [Wed, 15 May 2013 18:28:08 +0000 (20:28 +0200)]
Move _obstack_compat out of common
it is impossible to create an alias of a common symbol (as
compat_symbol does), because common symbols do not have a section or
an offset until linked. GNU as tolerates aliases of common symbols by
simply creating another common symbol, but other assemblers (notably
LLVM's integrated assembler) are less tolerant.
2013-05-15 Peter Collingbourne <pcc@google.com>
* malloc/obstack.c (_obstack_compat): Add initializer.
-
Andreas Jaeger [Wed, 15 May 2013 18:20:54 +0000 (20:20 +0200)]
Reserve new TLS field for x86 and x86_64
[BZ #10686]
* sysdeps/x86_64/tls.h (struct tcbhead_t): Add __private_ss
field.
* sysdeps/i386/tls.h (struct tcbhead_t): Likewise.
Edjunior Machado [Wed, 15 May 2013 18:15:19 +0000 (20:15 +0200)]
Update s390/bits/siginfo.h
2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t):
Remove si_trapno and add si_addr_lsb to _sifields.sigfault.
(si_trapno): Remove macro.
(si_addr_lsb): Define new macro.
(BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
Joseph Myers [Wed, 15 May 2013 16:58:41 +0000 (16:58 +0000)]
Consistently use TEST_f_L in tests of llrint and llround.
Carlos O'Donell [Wed, 15 May 2013 16:42:59 +0000 (12:42 -0400)]
hppa: Update libm-test-ulps
Update libm-test-ulps for hppa. There are a few entries
with 4 or 5 ulps, but these appear to be expected. A more
thorough review will be required if hppa switches long-double
to a different type.
---
ports/
2013-05-15 Carlos O'Donell <carlos@redhat.com>
* sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
Carlos O'Donell [Wed, 15 May 2013 15:47:47 +0000 (11:47 -0400)]
hppa: Fix _FPU_GETCW and _FPU_SETCW.
The following patch fixes both _FPU_GETCW and
_FPU_SETCW for hppa. The initial implementation was
flawed and not well tested. We failed to set cw,
and passed in the value of a register to fldd.
This patch fixes both of those errors and allows
the libm tests to pass without failure.
Signed-off-by: Guy Martin <gmsoft@tuxicoman.be>
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
---
2013-05-15 Guy Martin <gmsoft@tuxicoman.be>
Carlos O'Donell <carlos@redhat.com>
[BZ# 15000]
* ports/sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Set cw.
(_FPU_SETCW): Pass address to fldd.
Joseph Myers [Wed, 15 May 2013 12:04:07 +0000 (12:04 +0000)]
Convert TEST_f_b tests from code to data.
Joseph Myers [Wed, 15 May 2013 10:43:19 +0000 (10:43 +0000)]
Test for errno setting in more domain error cases.
Joseph Myers [Wed, 15 May 2013 10:42:18 +0000 (10:42 +0000)]
Disable libm-test errno testing for TEST_INLINE.
Joseph Myers [Wed, 15 May 2013 10:41:39 +0000 (10:41 +0000)]
Convert TEST_ff_i tests from code to data.
David S. Miller [Tue, 14 May 2013 22:44:29 +0000 (15:44 -0700)]
Update Sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Joseph Myers [Tue, 14 May 2013 21:17:19 +0000 (21:17 +0000)]
Fix whitespace in RUN_TEST_LOOP_2_f.
Joseph Myers [Tue, 14 May 2013 21:00:56 +0000 (21:00 +0000)]
Correct types of fields in libm-test.inc structures.
Joseph Myers [Tue, 14 May 2013 20:36:03 +0000 (20:36 +0000)]
Convert TEST_ffI_f1 tests from code to data.
Joseph Myers [Tue, 14 May 2013 19:50:14 +0000 (19:50 +0000)]
Stop ARM setjmp/longjmp saving/restoring fpscr (bug 14908).
Joseph Myers [Tue, 14 May 2013 19:49:09 +0000 (19:49 +0000)]
Add test for setjmp / longjmp and floating-point state.
Joseph Myers [Tue, 14 May 2013 19:13:43 +0000 (19:13 +0000)]
Convert TEST_f_i tests from code to data.
Joseph Myers [Tue, 14 May 2013 19:12:54 +0000 (19:12 +0000)]
Fix function name in scalbln_test call to END.
Joseph Myers [Tue, 14 May 2013 19:12:10 +0000 (19:12 +0000)]
Convert TEST_fI_f1 tests from code to data.
Joseph Myers [Tue, 14 May 2013 14:49:26 +0000 (14:49 +0000)]
Convert TEST_fF_f1 tests from code to data.
Joseph Myers [Tue, 14 May 2013 12:01:19 +0000 (12:01 +0000)]
Convert TEST_f_f1 tests from code to data.
Carlos O'Donell [Tue, 14 May 2013 04:06:35 +0000 (00:06 -0400)]
Add comments to vDSO hwcap loading process.
Loading of the vDSO pseudo-hwcap from the type 2 GNU note is
a rather arcane and poorly documented process. Given that I had
a chance to review this code today I thought I would add all
of the things I had to lookup to verify the validity of the
process.
With a single .note.GNU the vDSO can register up to 64 flags,
though in practice you are limited to 64 - _DL_FIRST_EXTRA
bits which on x86 is 12 bits.
The only use of this that I know of is in the Xen support
in Linux where they use the 1st bit to indicate "nosegneg".
I see "We use bit 1 to avoid bugs in some versions of glibc
when bit 0 is used; the choice is otherwise arbitrary.", but
no reference to a glibc bug anywhere. The code as-is should
support bit zero, so we still have that free for future use.
The kernel, glibc, and ld.so.cache must coordinate to ensure
that bit values don't go too high and are used consistently.
---
2013-05-13 Carlos O'Donell <carlos@redhat.com>
* elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
* elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
(main): Comment "tls" pseudo-hwcap.
Roland McGrath [Mon, 13 May 2013 22:41:46 +0000 (15:41 -0700)]
ARM: Make multiarch memcpy always use NEON when compiler does
Joseph Myers [Mon, 13 May 2013 22:38:15 +0000 (22:38 +0000)]
Convert TEST_fl_f tests from code to data.
Joseph Myers [Mon, 13 May 2013 19:45:36 +0000 (19:45 +0000)]
Convert TEST_fi_f tests from code to data.
Joseph Myers [Mon, 13 May 2013 18:58:17 +0000 (18:58 +0000)]
Convert TEST_c_f tests from code to data.
Joseph Myers [Mon, 13 May 2013 18:57:35 +0000 (18:57 +0000)]
Convert TEST_if_f tests from code to data.
Joseph Myers [Mon, 13 May 2013 18:56:50 +0000 (18:56 +0000)]
Consistently use TEST_fl_f in tests of scalbln.
Adhemerval Zanella [Mon, 13 May 2013 17:08:42 +0000 (12:08 -0500)]
Define decimal constant M_1_DIV_El in libm-test.inc
This patch replaces the 1.0 / M_El by the decimal constant M_1_DIV_El.
Siddhesh Poyarekar [Mon, 13 May 2013 08:14:32 +0000 (13:44 +0530)]
Use HP_TIMING for benchmarks if available
HP_TIMING uses native timestamping instructions if available, thus
greatly reducing the overhead of recording start and end times for
function calls. For architectures that don't have HP_TIMING
available, we fall back to the clock_gettime bits. One may also
override this by invoking the benchmark as follows:
make USE_CLOCK_GETTIME=1 bench
and get the benchmark results using clock_gettime. One has to do
`make bench-clean` to ensure that the benchmark programs are rebuilt.
Siddhesh Poyarekar [Mon, 13 May 2013 06:16:36 +0000 (11:46 +0530)]
Make _LIB_VERSION a weak symbol
That way it can live alongside _LIB_VERSION in libieee.a for
statically compiled programs.
Resolves #14582.
Joseph Myers [Sun, 12 May 2013 21:07:58 +0000 (21:07 +0000)]
Convert TEST_fff_f tests from code to data.
Joseph Myers [Sun, 12 May 2013 17:38:26 +0000 (17:38 +0000)]
Convert TEST_c_c tests from code to data.
Marcus Shawcroft [Sun, 12 May 2013 17:09:33 +0000 (18:09 +0100)]
[AArch64] Fix out of range branch from ioctl() and clone()
2013-05-12 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* sysdeps/unix/sysv/linux/aarch64/clone.S (__clone):
Do not call sycall_error directly with a confitional branch.
* sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl):
Do not call sycall_error directly with a confitional branch.
Joseph Myers [Sun, 12 May 2013 13:17:09 +0000 (13:17 +0000)]
Convert TEST_ff_f tests from code to data.
Joseph Myers [Sat, 11 May 2013 11:10:31 +0000 (11:10 +0000)]
Make fma and nextafter tests use max_value instead of fltmax.
Joseph Myers [Sat, 11 May 2013 11:09:30 +0000 (11:09 +0000)]
Convert TEST_f_f tests from code to data.
Andreas Jaeger [Sat, 11 May 2013 08:28:21 +0000 (10:28 +0200)]
Add BZ #10191 to ChangeLog/NEWS
BZ #10191 was fixed some time ago without noticing at that time.