Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix x86 acos near 1 (bug 13942). | Joseph Myers | 2012-04-30 | 1 | -0/+12 |
| | |||||
* | Fix acos (-1) in round-downwards mode on x86 (bug 14034). | Joseph Myers | 2012-04-30 | 1 | -0/+158 |
| | |||||
* | Update sysdeps/x86_64/fpu/libm-test-ulps | Markus Trippelsdorf | 2012-04-21 | 1 | -0/+6 |
| | | | | | [BZ #13927] * sysdeps/x86_64/fpu/libm-test-ulps: Update. | ||||
* | Remove useless __ilogb*_finite aliases | Andreas Schwab | 2012-04-18 | 1 | -1/+0 |
| | |||||
* | Fix ilogb exception and errno (bug 6794) | Adhemerval Zanella | 2012-04-17 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | [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. | ||||
* | Check __ILP32__ instead of __LP64__ | H.J. Lu | 2012-04-13 | 3 | -3/+3 |
| | | | | | | | | | | | | | * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__. * elf/tst-auditmod3b.c: Likewise. * elf/tst-auditmod4b.c: Likewise. * elf/tst-auditmod5b.c: Likewise. * elf/tst-auditmod6b.c: Likewise. * elf/tst-auditmod6c.c: Likewise. * elf/tst-auditmod7b.c: Likewise. * sysdeps/x86_64/ffsll.c (ffsl): Likewise. * sysdeps/x86_64/preconfigure.in: Likewise. * sysdeps/x86_64/preconfigure: Regenerated. | ||||
* | Add __ILP32__ check when defining __WORDSIZE | H.J. Lu | 2012-04-13 | 1 | -1/+1 |
| | |||||
* | Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h> | H.J. Lu | 2012-04-10 | 1 | -32/+53 |
| | |||||
* | Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872). | Joseph Myers | 2012-04-09 | 1 | -12/+19 |
| | |||||
* | Fix ctan, ctanh overflow (bug 11521). | Joseph Myers | 2012-04-09 | 1 | -12/+70 |
| | |||||
* | Fix x86 pow inaccuracy for large integer exponents (bug 706). | Joseph Myers | 2012-04-09 | 1 | -0/+15 |
| | |||||
* | memset: also update copyright years | Mike Frysinger | 2012-04-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | memset: fix define usage for shared libs | Mike Frysinger | 2012-04-07 | 1 | -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_16 | H.J. Lu | 2012-04-06 | 2 | -20/+51 |
| | |||||
* | Fix size parameter comparisions. | Michael Matz | 2012-04-05 | 1 | -6/+6 |
| | | | | | | | | | | | | | [BZ #13592] There are several signed compares of the size argument, whereas it really is unsigned. Depending on situations e.g. a "memset(ptr, 0, -1)" segfault (but for the wrong reasons, because jumping into nirvana) or succeeds even. In normal use this is harmless, as a size with signbit set indicates more than half the address space which on x86_64 is impossible to allocate, but as the size is used to index some jump tables this potentially could have other unwanted side effects. | ||||
* | Add __bswap_64 definition for non GCC compilers. | Andreas Jaeger | 2012-04-03 | 1 | -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. | ||||
* | Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866). | Joseph Myers | 2012-03-28 | 1 | -4/+43 |
| | |||||
* | Fix last commit | Andreas Jaeger | 2012-03-28 | 2 | -30/+24 |
| | | | | | Merge the current i386 version of sysdeps/i386/configure.in Regenerate configure | ||||
* | Merge branch 'elf-move' | Andreas Jaeger | 2012-03-27 | 5 | -160/+487 |
|\ | | | | | | | | | | | | | Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in | ||||
| * | Merge branch 'master' into elf-move | Andreas Jaeger | 2012-03-20 | 1 | -0/+67 |
| |\ | |||||
| * | | Fix last line in configure.in. | Andreas Jaeger | 2012-03-19 | 1 | -1/+1 |
| | | | |||||
| * | | Fix last line. | Andreas Jaeger | 2012-03-19 | 1 | -2/+365 |
| | | | |||||
| * | | Remove now obsolete elf/configure file. | Andreas Jaeger | 2012-03-19 | 1 | -125/+0 |
| | | | |||||
| * | | Merge contents from sysdeps/i386/configure.in (without i686 check) | Andreas Jaeger | 2012-03-19 | 1 | -2/+91 |
| | | | |||||
| * | | Move x86_64/elf files to x86_64 | Andreas Jaeger | 2012-03-19 | 2 | -0/+0 |
| | | | |||||
* | | | Make sure x86_64 GOT entry slot is always 8 bytes | H.J. Lu | 2012-03-23 | 1 | -4/+14 |
| | | | |||||
* | | | Fix cexp overflow (bug 13892). | Joseph Myers | 2012-03-22 | 1 | -2/+32 |
| | | | |||||
* | | | Replace Elf64_XXX with ElfW(XXX) in dl-irel.h | H.J. Lu | 2012-03-22 | 1 | -7/+7 |
| | | | |||||
* | | | Replace unsigned long with uint64_t | H.J. Lu | 2012-03-22 | 1 | -2/+2 |
| | | | |||||
* | | | Add sysdeps/x86_64/preconfigure | H.J. Lu | 2012-03-22 | 2 | -0/+182 |
| | | | |||||
* | | | Add x32 support to dynamic linker audit | H.J. Lu | 2012-03-21 | 1 | -1/+19 |
| | | | |||||
* | | | Disable use of FMA instructions in branred | Andreas Schwab | 2012-03-21 | 4 | -8/+1 |
| | | | |||||
* | | | Remove inaccurate x86 cexp implementations (bug 13883). | Joseph Myers | 2012-03-21 | 1 | -0/+22 |
| | | | |||||
* | | | Fix pow of zero and infinity to large powers. | Joseph Myers | 2012-03-21 | 1 | -0/+41 |
| | | | |||||
* | | | Check __x86_64__ instead of __WORDSIZE in mathinline.h | H.J. Lu | 2012-03-20 | 1 | -5/+3 |
| | | | |||||
* | | | Support x86-64 __jmp_buf with __WORDSIZE != 64 | H.J. Lu | 2012-03-20 | 1 | -0/+2 |
| | | | |||||
* | | | Use atomic64_t with 64bit atomic macros | H.J. Lu | 2012-03-19 | 1 | -7/+7 |
| | | | |||||
* | | | Check __x86_64__ instead of __WORDSIZE for fenv_t | H.J. Lu | 2012-03-19 | 1 | -4/+1 |
| | | | |||||
* | | | Check __x86_64__ instead of __WORDSIZE in mathdef.h | H.J. Lu | 2012-03-19 | 1 | -4/+2 |
| | | | |||||
* | | | Use int64_t in x86_64/fpu/math_private.h | H.J. Lu | 2012-03-19 | 1 | -2/+2 |
| | | | |||||
* | | | Cast _Unwind_GetCFA return to _Unwind_Ptr first | H.J. Lu | 2012-03-19 | 1 | -1/+3 |
| |/ |/| | |||||
* | | Fix clog overflow/underflow (bug 13629). | Joseph Myers | 2012-03-19 | 1 | -0/+67 |
|/ | |||||
* | Optimize private 387 fenv access; share code between i386 and x86_64. | Richard Henderson | 2012-03-19 | 1 | -119/+1 |
| | |||||
* | i386/x86_64: Optimize feholdexcept. | Richard Henderson | 2012-03-19 | 1 | -14/+7 |
| | |||||
* | Create and use libc_feupdateenv_test. | Richard Henderson | 2012-03-19 | 1 | -4/+24 |
| | | | | | We can reduce the number of STMXCSR, and often we can avoid the call to __feraiseexcept. | ||||
* | Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}. | Richard Henderson | 2012-03-19 | 1 | -0/+23 |
| | |||||
* | Convert libc_feholdexcept et al from macros to inline functions. | Richard Henderson | 2012-03-19 | 1 | -57/+57 |
| | |||||
* | Make inline __isnan, __isinf_ns, __finite generic. | Richard Henderson | 2012-03-19 | 1 | -27/+1 |
| | | | | | | For code generation to stay identical on x86_64, this requires that we define the fp word manipulation macros before including the generic header. | ||||
* | Define x86-64 ffsl alias only if __LP64__ is defined | H.J. Lu | 2012-03-16 | 1 | -1/+3 |
| | |||||
* | Disable Bessel function TLOSS errors in POSIX mode. | Joseph Myers | 2012-03-16 | 1 | -2/+39 |
| |