aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-05-20PowerPC: update missing CL/NEWS bug referenceAdhemerval Zanella2-1/+2
Update ChangLog bugzilla number and NEWS for commit 13d3b41a36c4f28d171a144f8a9baad3a8835981 (PowerPC: fix hypot/hypotf check for -INF).
2013-05-20Faster memset on x64Ondrej Bilka2-1315/+96
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
2013-05-20Faster memcpy on x64.Ondrej Bilka5-8/+195
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
2013-05-19Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers7-1/+26
2013-05-19Handle sincos with generic libm-test logic.Joseph Myers32-217/+252
2013-05-19Simplify gen-libm-test.pl handling of tests with extra outputs.Joseph Myers2-65/+24
2013-05-18Don't disable CMPLXL macro for __NO_LONG_DOUBLE_MATH (bug 15488).Joseph Myers5-10/+13
2013-05-18Make libm-test look up ulps by name at runtime.Joseph Myers3-228/+315
2013-05-17Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).Joseph Myers4-8/+181
2013-05-17Simplify libm-test extra-output initialization.Joseph Myers3-37/+49
2013-05-17Don't handle ulps for integer tests in libm-test.inc.Joseph Myers2-15/+8
2013-05-17Test more cases of "inexact" exceptions in libm-test.inc.Joseph Myers2-1119/+1205
2013-05-17Prevent optimizing out of benchmark function callSiddhesh Poyarekar4-3/+10
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.
2013-05-17PowerPC: fix hypot/hypotf check for -INFAdhemerval Zanella3-6/+12
2013-05-16MIPS: soft-fp NaN representation correctionsMaciej W. Rozycki15-18/+124
[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.
2013-05-16Test for errno setting in more pole error cases.Joseph Myers2-15/+24
2013-05-16Remove ENOSYS tests in libm-test.inc.Joseph Myers2-649/+104
2013-05-16Remove libm-test support for TEST_* inside functions.Joseph Myers3-90/+53
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold220-12/+528
2013-05-16Convert TEST_extra tests from code to data.Joseph Myers2-48/+82
2013-05-16De-stringify constants in math/atest-exp2.c.Richard Henderson2-42/+44
2013-05-16Support testing "inexact" exceptions in libm-test.inc.Joseph Myers2-392/+421
2013-05-16Test for errno setting in more overflow error cases.Joseph Myers2-81/+89
2013-05-16Convert TEST_cc_c tests from code to data.Joseph Myers2-14/+41
2013-05-16Convert TEST_f_L tests from code to data.Joseph Myers2-769/+797
2013-05-15Remove const attribute on get_log2Peter Collingbourne2-1/+4
This function is not const, as it can modify log2_m and log2_m_inited.
2013-05-15hppa: Cleanup libm-test-ulps.Carlos O'Donell2-420/+3
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.
2013-05-15Convert TEST_f_l tests from code to data.Joseph Myers2-167/+196
2013-05-15Use movq for 64-bit operationsPeter Collingbourne2-2/+8
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.
2013-05-15Use x constraints for operands to vfmaddss and vfmaddsdPeter Collingbourne3-2/+6
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.
2013-05-15Move _obstack_compat out of commonPeter Collingbourne2-1/+5
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. -
2013-05-15Reserve new TLS field for x86 and x86_64Andreas Jaeger4-11/+21
[BZ #10686] * sysdeps/x86_64/tls.h (struct tcbhead_t): Add __private_ss field. * sysdeps/i386/tls.h (struct tcbhead_t): Likewise.
2013-05-15Update s390/bits/siginfo.hEdjunior Machado2-3/+15
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.
2013-05-15Consistently use TEST_f_L in tests of llrint and llround.Joseph Myers2-6/+14
2013-05-15hppa: Update libm-test-ulpsCarlos O'Donell2-15/+4168
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.
2013-05-15hppa: Fix _FPU_GETCW and _FPU_SETCW.Carlos O'Donell3-8/+15
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.
2013-05-15Convert TEST_f_b tests from code to data.Joseph Myers2-67/+135
2013-05-15Test for errno setting in more domain error cases.Joseph Myers2-53/+68
2013-05-15Disable libm-test errno testing for TEST_INLINE.Joseph Myers2-0/+5
2013-05-15Convert TEST_ff_i tests from code to data.Joseph Myers2-108/+171
2013-05-14Update Sparc ULPs.David S. Miller2-6/+857
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-05-14Fix whitespace in RUN_TEST_LOOP_2_f.Joseph Myers2-1/+3
2013-05-14Correct types of fields in libm-test.inc structures.Joseph Myers2-2/+6
2013-05-14Convert TEST_ffI_f1 tests from code to data.Joseph Myers2-15/+51
2013-05-14Stop ARM setjmp/longjmp saving/restoring fpscr (bug 14908).Joseph Myers5-20/+18
2013-05-14Add test for setjmp / longjmp and floating-point state.Joseph Myers3-1/+118
2013-05-14Convert TEST_f_i tests from code to data.Joseph Myers2-24/+64
2013-05-14Fix function name in scalbln_test call to END.Joseph Myers2-1/+4
2013-05-14Convert TEST_fI_f1 tests from code to data.Joseph Myers2-11/+32
2013-05-14Convert TEST_fF_f1 tests from code to data.Joseph Myers2-12/+45