Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use same tests for isfinite/finite, lgamma/gamma. | Joseph Myers | 2013-05-24 | 1 | -0/+16 |
| | |||||
* | Don't include expected results in libm-test test names. | Joseph Myers | 2013-05-22 | 1 | -2154/+2154 |
| | |||||
* | Faster memset on x64 | Ondrej Bilka | 2013-05-20 | 1 | -1315/+90 |
| | | | | | | | | | 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 | ||||
* | Faster memcpy on x64. | Ondrej Bilka | 2013-05-20 | 4 | -8/+185 |
| | | | | | | | | | 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 | ||||
* | Handle sincos with generic libm-test logic. | Joseph Myers | 2013-05-19 | 1 | -6/+6 |
| | |||||
* | Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). | Ryan S. Arnold | 2013-05-16 | 2 | -0/+3 |
| | |||||
* | Use movq for 64-bit operations | Peter Collingbourne | 2013-05-15 | 1 | -2/+4 |
| | | | | | | | | | | | 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. | ||||
* | Use x constraints for operands to vfmaddss and vfmaddsd | Peter Collingbourne | 2013-05-15 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426). | Joseph Myers | 2013-05-08 | 1 | -6/+670 |
| | |||||
* | Fix catan, catanh spurious underflows (bug 15423). | Joseph Myers | 2013-05-01 | 1 | -0/+232 |
| | |||||
* | Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416). | Joseph Myers | 2013-04-30 | 1 | -2/+420 |
| | |||||
* | Fix catan, catanh spurious overflows (bug 15409). | Joseph Myers | 2013-04-27 | 1 | -0/+82 |
| | |||||
* | Update x86_64 ULPs | Markus Trippelsdorf | 2013-04-26 | 1 | -0/+244 |
| | | | | | | 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de> * sysdeps/x86_64/fpu/libm-test-ulps: Update. | ||||
* | Move x86_64-specific audit tests to sysdeps/x86_64/. | Joseph Myers | 2013-04-25 | 17 | -0/+1515 |
| | |||||
* | Fix catan, catanh inaccuracy through use of log (bug 15394). | Joseph Myers | 2013-04-24 | 1 | -0/+2 |
| | |||||
* | libm-test.inc: Fix tests where cos(PI/2) != 0. | Carlos O'Donell | 2013-04-11 | 1 | -14/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of PI is never exactly PI in any floating point representation, and the value of PI/2 is never PI/2. It is wrong to expect cos(M_PI_2l) to return 0, instead it will return an answer that is non-zero because M_PI_2l doesn't round to exactly PI/2 in the type used. That is to say that the correct answer is to do the following: * Take PI or PI/2. * Round to the floating point representation. * Take the rounded value and compute an infinite precision cos or sin. * Use the rounded result of the infinite precision cos or sin as the answer to the test. I used printf to do the type rounding, and Wolfram's Alpha to do the infinite precision cos calculations. The following changes bring x86-64 and x86 to 1/2 ulp for two tests. It shows that the x86 cos implementation is quite good, and that our test are flawed. Unfortunately given that the rounding errors are type dependent we need to fix this for each type. No regressions on x86-64 or x86. --- 2013-04-11 Carlos O'Donell <carlos@redhat.com> * math/libm-test.inc (cos_test): Fix PI/2 test. (sincos_test): Likewise. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate. * sysdeps/i386/fpu/libm-test-ulps: Regenerate. | ||||
* | Fix cacosh inaccuracy and spurious exceptions (bug 15327). | Joseph Myers | 2013-04-02 | 1 | -27/+942 |
| | |||||
* | Fix casinh inaccuracy for imaginary part < 1.0, real part small (bug 10357). | Joseph Myers | 2013-03-30 | 1 | -145/+1235 |
| | |||||
* | Fix casinh inaccuracy near i, imaginary part > 1 (bug 15307). | Joseph Myers | 2013-03-27 | 1 | -0/+368 |
| | |||||
* | BZ#11120: fix x86_64/strcmp.S NOT_IN_libc safeguards | Dmitry V. Levin | 2013-03-22 | 1 | -3/+3 |
| | | | | | | | | Due to a typo repeated several times, this bug hasn't been fixed yet, despite being marked as resolved in glibc 2.12. * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib with NOT_IN_libc. | ||||
* | Fix casinh inaccuracy for argument with imaginary part 1 (bug 15287). | Joseph Myers | 2013-03-21 | 1 | -2/+788 |
| | |||||
* | Move system-specific settings out of toplevel configure.in and config.make.in. | Joseph Myers | 2013-03-20 | 2 | -0/+15 |
| | |||||
* | Faster strlen on x64. | Ondrej Bilka | 2013-03-18 | 13 | -1308/+755 |
| | |||||
* | Fix y1l spurious overflows for ldbl-96 (bug 15283). | Joseph Myers | 2013-03-16 | 1 | -0/+12 |
| | |||||
* | Regenerate sysdeps/x86_64/preconfigure. | Joseph Myers | 2013-03-15 | 1 | -120/+0 |
| | |||||
* | Remove Prefer_SSE_for_memop on x64 | Ondrej Bilka | 2013-03-11 | 9 | -198/+2 |
| | |||||
* | Revert " * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation" | Ondrej Bilka | 2013-03-06 | 12 | -740/+1306 |
| | | | | This reverts commit b79188d71716b6286866e06add976fe84100595e. | ||||
* | * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation | Ondrej Bilka | 2013-03-06 | 12 | -1306/+740 |
| | | | | | which is faster on all x86_64 architectures. Tested on AMD, Intel Nehalem, SNB, IVB. | ||||
* | Remove bounded-pointers handling from x86_64 assembly sources. | Joseph Myers | 2013-02-17 | 14 | -188/+29 |
| | |||||
* | New __sqr function as a faster special case of __mul | Siddhesh Poyarekar | 2013-02-14 | 2 | -0/+2 |
| | |||||
* | Remove lots of inline keywords. | Roland McGrath | 2013-02-07 | 2 | -4/+5 |
| | |||||
* | Fix casinh spurious underflows away from [-i,i] (bug 15062). | Joseph Myers | 2013-01-31 | 1 | -0/+186 |
| | |||||
* | Fix cacos real-part inaccuracy for result real part near 0 (bug 15023). | Joseph Myers | 2013-01-17 | 1 | -0/+15 |
| | |||||
* | Implement x86 SIZE32/SIZE64 relocations | H.J. Lu | 2013-01-16 | 1 | -0/+20 |
| | |||||
* | Fix casinh, casin overflow (bug 14996). | Joseph Myers | 2013-01-07 | 1 | -0/+12 |
| | |||||
* | Change __x86_64 prefix in cache size to __x86 | H.J. Lu | 2013-01-05 | 6 | -46/+46 |
| | |||||
* | Fix casinh, casin inaccuracy from cancellation (bug 14994). | Joseph Myers | 2013-01-04 | 1 | -0/+29 |
| | |||||
* | Add HAS_RTM | H.J. Lu | 2013-01-03 | 2 | -0/+16 |
| | |||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 177 | -183/+177 |
| | |||||
* | Move mpone out to a global const | Siddhesh Poyarekar | 2012-12-27 | 2 | -0/+2 |
| | | | | Code cleanup. | ||||
* | Fix powl inaccuracy for x86_64 and x86 (bug 13881). | Joseph Myers | 2012-11-28 | 2 | -30/+26 |
| | |||||
* | Cast to __intptr_t before casting pointer to int64 | H.J. Lu | 2012-11-26 | 1 | -7/+14 |
| | |||||
* | test-multiarch: terminate printf output with newline | Pino Toscano | 2012-11-22 | 1 | -1/+1 |
| | |||||
* | Fix spurious underflows in ldbl-128 atan implementation. | David S. Miller | 2012-11-19 | 1 | -0/+3 |
| | | | | | | | | | | With help from Joseph Myers. * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and very large arguments properly. * math/libm-test.inc (atan_test): New tests. (atan2_test): New tests. * sysdeps/sparc/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update. | ||||
* | Correct tinyness handling in long-double and float y0/y1. | David S. Miller | 2012-11-18 | 1 | -0/+35 |
| | | | | | | | | | | | | | | | | | With help from Joseph Myers. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness cutoff to 2**-13. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness cutoff to 2**-25. * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant. ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very small. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. * math/libm-test.inc (y0_test): New tests. (y1_test): New tests. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * sysdeps/sparc/fpu/libm-test-ulps: Update. | ||||
* | Also run tst-xmmymm.sh on i386 ld.so | H.J. Lu | 2012-11-07 | 2 | -105/+0 |
| | |||||
* | Fix spurious underflows from pow with results close to 1 (bug 14811). | Joseph Myers | 2012-11-07 | 1 | -2/+21 |
| | |||||
* | Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796). | Joseph Myers | 2012-11-03 | 1 | -1/+2 |
| | |||||
* | Compile x86 rtld with -mno-sse -mno-mmx | H.J. Lu | 2012-11-02 | 1 | -1/+2 |
| | |||||
* | Use sysdeps/x86/tininess.h for i386 and x86_64 | H.J. Lu | 2012-10-30 | 1 | -1/+0 |
| |