aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
AgeCommit message (Collapse)Author
2012-04-21Update sysdeps/x86_64/fpu/libm-test-ulpsMarkus Trippelsdorf
[BZ #13927] * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012-04-18Remove useless __ilogb*_finite aliasesAndreas Schwab
2012-04-17Fix ilogb exception and errno (bug 6794)Adhemerval Zanella
[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.
2012-04-13Check __ILP32__ instead of __LP64__H.J. Lu
* 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.
2012-04-13Add __ILP32__ check when defining __WORDSIZEH.J. Lu
2012-04-10Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h>H.J. Lu
2012-04-09Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).Joseph Myers
2012-04-09Fix ctan, ctanh overflow (bug 11521).Joseph Myers
2012-04-09Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers
2012-04-08memset: also update copyright yearsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-07memset: fix define usage for shared libsMike Frysinger
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>
2012-04-06Add byteswap-16.h for __bswap_16H.J. Lu
2012-04-05Fix size parameter comparisions.Michael Matz
[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.
2012-04-03Add __bswap_64 definition for non GCC compilers.Andreas Jaeger
[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.
2012-03-28Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers
2012-03-28Fix last commitAndreas Jaeger
Merge the current i386 version of sysdeps/i386/configure.in Regenerate configure
2012-03-27Merge branch 'elf-move'Andreas Jaeger
Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
2012-03-23Make sure x86_64 GOT entry slot is always 8 bytesH.J. Lu
2012-03-22Fix cexp overflow (bug 13892).Joseph Myers
2012-03-22Replace Elf64_XXX with ElfW(XXX) in dl-irel.hH.J. Lu
2012-03-22Replace unsigned long with uint64_tH.J. Lu
2012-03-22Add sysdeps/x86_64/preconfigureH.J. Lu
2012-03-21Add x32 support to dynamic linker auditH.J. Lu
2012-03-21Disable use of FMA instructions in branredAndreas Schwab
2012-03-21Remove inaccurate x86 cexp implementations (bug 13883).Joseph Myers
2012-03-21Fix pow of zero and infinity to large powers.Joseph Myers
2012-03-20Merge branch 'master' into elf-moveAndreas Jaeger
2012-03-20Check __x86_64__ instead of __WORDSIZE in mathinline.hH.J. Lu
2012-03-20Support x86-64 __jmp_buf with __WORDSIZE != 64H.J. Lu
2012-03-19Use atomic64_t with 64bit atomic macrosH.J. Lu
2012-03-19Check __x86_64__ instead of __WORDSIZE for fenv_tH.J. Lu
2012-03-19Check __x86_64__ instead of __WORDSIZE in mathdef.hH.J. Lu
2012-03-19Use int64_t in x86_64/fpu/math_private.hH.J. Lu
2012-03-19Cast _Unwind_GetCFA return to _Unwind_Ptr firstH.J. Lu
2012-03-19Fix clog overflow/underflow (bug 13629).Joseph Myers
2012-03-19Fix last line in configure.in.Andreas Jaeger
2012-03-19Fix last line.Andreas Jaeger
2012-03-19Remove now obsolete elf/configure file.Andreas Jaeger
2012-03-19Merge contents from sysdeps/i386/configure.in (without i686 check)Andreas Jaeger
2012-03-19Move x86_64/elf files to x86_64Andreas Jaeger
2012-03-19Optimize private 387 fenv access; share code between i386 and x86_64.Richard Henderson
2012-03-19i386/x86_64: Optimize feholdexcept.Richard Henderson
2012-03-19Create and use libc_feupdateenv_test.Richard Henderson
We can reduce the number of STMXCSR, and often we can avoid the call to __feraiseexcept.
2012-03-19Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.Richard Henderson
2012-03-19Convert libc_feholdexcept et al from macros to inline functions.Richard Henderson
2012-03-19Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson
For code generation to stay identical on x86_64, this requires that we define the fp word manipulation macros before including the generic header.
2012-03-16Define x86-64 ffsl alias only if __LP64__ is definedH.J. Lu
2012-03-16Disable Bessel function TLOSS errors in POSIX mode.Joseph Myers
2012-03-16Fix tan, tanl for large inputs.Joseph Myers
2012-03-16 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.Jan Kratochvil
(_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.