aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
AgeCommit message (Collapse)Author
2012-05-10Sign extend R_X86_64_DTPOFF64/R_X86_64_TPOFF64H.J. Lu
2012-05-09Add volatiles for x86-64 bits/mathinline.hAndreas Jaeger
[BZ #14053] GCC 4.7 might remove consecutive calls to e.g. lrintf since the assembler instructions are the same and GCC does not know that the result is different depending on the rounding mode. For SSE instructions, the control register is not available so there is no way to inform GCC about this. Therefore the asms are marked as volatile.
2012-05-08Replace Elf64_XXX/ELF64_R_TYPE with ElfW(XXX)/ELFW(R_TYPE)H.J. Lu
2012-05-07Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).Joseph Myers
2012-05-06Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers
2012-05-06Update x86-64 libm-test-ulpsAndreas Jaeger
2012-05-05Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers
2012-05-05Use .S sources for x86/x86_64 expl.Joseph Myers
2012-04-30Fix x86 acos near 1 (bug 13942).Joseph Myers
2012-04-30Fix acos (-1) in round-downwards mode on x86 (bug 14034).Joseph Myers
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