summaryrefslogtreecommitdiff
path: root/sysdeps/i386
Commit message (Collapse)AuthorAgeFilesLines
* BZ#14059: Fix AVX and FMA4 detection.Carlos O'Donell2012-05-172-0/+2
| | | | | Fix AVX and FMA4 detection by following the guidelines set out by Intel and AMD for detecting these features.
* Split up stackguard-macros.h into sysdeps directories.Joseph Myers2012-05-151-0/+4
|
* Remove unused functions from i386/mathinline.hAndreas Jaeger2012-05-141-37/+0
|
* Add optimized expf for x86Liubov Dmitrieva2012-05-144-0/+364
| | | | | | | | | 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> * sysdeps/i386/i686/fpu/multiarch/Makefile: New file. * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file. * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
* Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).Joseph Myers2012-05-073-132/+68
|
* Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers2012-05-062-47/+31
|
* Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers2012-05-051-1/+18
|
* Use .S sources for x86/x86_64 expl.Joseph Myers2012-05-052-78/+92
|
* Update sysdeps/i386/fpu/libm-test-ulpsAndreas Jaeger2012-05-031-0/+75
|
* Fix nexttoward bugs (bugs 2550, 2570).Joseph Myers2012-05-012-16/+4
|
* Fix x86 acos near 1 (bug 13942).Joseph Myers2012-04-304-11/+29
|
* Fix acos (-1) in round-downwards mode on x86 (bug 14034).Joseph Myers2012-04-304-0/+194
|
* Remove useless __ilogb*_finite aliasesAndreas Schwab2012-04-183-3/+0
|
* Fix ilogb exception and errno (bug 6794)Adhemerval Zanella2012-04-173-9/+24
| | | | | | | | | | | | | | | | | | | | [BZ #6794] Following Joseph comments about bug 6794, here is a proposed fix. It turned out to be a large fix mainly because I had to move some file along to follow libm files/names conventions. Basically I have added wrappers (w_ilogb.c, w_ilogbf.c, w_ilogbl.c) that now calls the symbol '__ieee754_ilogb'. The wrappers checks for '__ieee754_ilogb' output and set the errno and raise exceptions as expected. The '__ieee754_ilogb' is implemented in sysdeps. I have moved the 's_ilogb[f|l]' files to e_ilogb[f|l] and renamed the '__ilogb[f|l]' to '__ieee754_ilogb[f|l]'. I also found out a bug in i386 and x86-64 assembly coded ilogb implementation where it raises a FE_DIVBYZERO when argument is '0.0'. I corrected this issue as well. Finally I added the errno and FE_INVALID tests for 0.0, NaN and +-InF argument. Tested on i386, x86-64, ppc32 and ppc64.
* Reverse arguments of fdivp in i386 code.Marek Polacek2012-04-161-2/+2
|
* Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).Joseph Myers2012-04-091-12/+19
|
* Fix ctan, ctanh overflow (bug 11521).Joseph Myers2012-04-091-8/+58
|
* Fix missing clobber in i386 __sincos_code asm.Roland McGrath2012-04-091-7/+7
|
* Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers2012-04-091-4/+49
|
* memset: also update copyright yearsMike Frysinger2012-04-081-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* memset: fix define usage for shared libsMike Frysinger2012-04-071-1/+1
| | | | | | | The proper define to check "am I in a shared lib" is "SHARED", not "PIC". The two new memset_chk functions incorrectly depend on "PIC". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add byteswap-16.h for __bswap_16H.J. Lu2012-04-062-27/+51
|
* Add __bswap_64 definition for non GCC compilers.Andreas Jaeger2012-04-031-2/+17
| | | | | | | | | [BZ#13926] Currently __bswap_64 is not defined at all for non-GCC compilers. Define it but guard it with __GLIBC_HAVE_LONG_LONG. endian.h uses __bswap_64, make the functions only available if __GLIBC_HAVE_LONG_LONG is defined.
* Call __ctype_init in early glibc startup.Thomas Schwinge2012-04-021-1/+5
| | | | This adds the bits missing from fd5bdc0924e0cfd1688b632068c1b26f3b0c88da.
* optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.SLiubov Dmitrieva2012-03-301-536/+1449
| | | | | | | | | | | | | | I've improved the following implementation of memcpy: "sysdeps/i386/i686/multiarch/memcpy-ssse3.S". The patch includes some minor style fixes, but the important part is just using prefetch loops for the case: DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and src and dst pointers have unequal 16 byte alignments. This gives from 6% - 50% performance boost on the atom machine, about 24,73% in geometric mean.
* Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers2012-03-283-12/+62
|
* RegenerateAndreas Jaeger2012-03-271-1/+0
|
* Merge branch 'elf-move'Andreas Jaeger2012-03-277-172/+85
|\ | | | | | | | | | | | | Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
| * Merge branch 'master' into elf-moveAndreas Jaeger2012-03-201-0/+60
| |\
| * | Merge sysdeps/i386/elf/Versions into sysdeps/i386/Versions.Andreas Jaeger2012-03-196-170/+40
| | | | | | | | | | | | | | | | | | | | | Move sysdeps/i386/elf/start.S to sysdeps/i386/ Merge sysdeps/i386/elf/configure.in into sysdeps/i386/configure.in Delete merged files sysdeps/i386/elf/configure.in, sysdeps/i386/elf/Versions and sysdeps/i386/elf/configure.
* | | Fix cexp overflow (bug 13892).Joseph Myers2012-03-221-0/+37
| | |
* | | Use autoconf macro for testing compiler options with empty input.Joseph Myers2012-03-212-36/+30
| | |
* | | Remove inaccurate x86 cexp implementations (bug 13883).Joseph Myers2012-03-214-786/+66
| | |
* | | Fix pow of zero and infinity to large powers.Joseph Myers2012-03-213-32/+103
| | |
* | | Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu2012-03-201-1/+1
| |/ |/|
* | Fix clog overflow/underflow (bug 13629).Joseph Myers2012-03-191-0/+60
|/
* Optimize private 387 fenv access; share code between i386 and x86_64.Richard Henderson2012-03-192-44/+306
|
* i386/x86_64: Optimize feholdexcept.Richard Henderson2012-03-191-15/+4
|
* i386: Convert libc_{feholdexcept_setround,updateenv}_53bit to functions.Richard Henderson2012-03-191-29/+29
| | | | | | Also fix a bug in libc_feupdateenv_53bit: don't force the rounding precision back to _FPU_EXTENDED, instead restore the precision that the user had in effect beforehand.
* Disable Bessel function TLOSS errors in POSIX mode.Joseph Myers2012-03-161-2/+39
|
* Fix tan, tanl for large inputs.Joseph Myers2012-03-164-113/+18
|
* Implement ldbl-96 sinl / cosl / sincosl (bug 13851).Joseph Myers2012-03-166-188/+33
|
* UpdateAndreas Jaeger2012-03-151-4/+4
|
* * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses theAndreas Jaeger2012-03-152-59/+14
| | | | | | ieee754/flt-32 implementation for tan. * math/libm-test.inc (tan_test): Add tests for large input. * sysdeps/i386/fpu/libm-test-ulps: Update.
* [BZ #13852]Andreas Jaeger2012-03-156-180/+47
| | | | | | | | | | | | | | | * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the ieee754/flt-32 implementation. * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise. * sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_sincosf.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * math/libm-test.inc (cos_test): Enable some large input tests for float as well (sin_test): Likewise. (sincos_test): Likewise. * sysdeps/i386/fpu/libm-test-ulps: Update.
* Cleanup formatting.Andreas Jaeger2012-03-151-5/+5
|
* Update ULPs.Andreas Jaeger2012-03-141-8/+8
|
* Implement and use libc_feholdexcept_setround_53bit and libc_feupdateenv_53bitAndreas Jaeger2012-03-141-0/+29
| | | | so that double arithmetic in s_sin is done in 53 bit (without extend i386 double precision)
* Remove files so that i386 uses the iee754/dbl-64 sin and cos implementation.Andreas Jaeger2012-03-147-176/+0
|
* Fix csqrt overflow/underflow (bug 13841).Joseph Myers2012-03-141-0/+24
|