about summary refs log tree commit diff
path: root/sysdeps/x86_64
Commit message (Collapse)AuthorAgeFilesLines
* Update sysdeps/x86_64/fpu/libm-test-ulpsMarkus Trippelsdorf2012-04-211-0/+6
| | | | | [BZ #13927] * sysdeps/x86_64/fpu/libm-test-ulps: Update.
* Remove useless __ilogb*_finite aliasesAndreas Schwab2012-04-181-1/+0
|
* Fix ilogb exception and errno (bug 6794)Adhemerval Zanella2012-04-171-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. Lu2012-04-133-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 __WORDSIZEH.J. Lu2012-04-131-1/+1
|
* Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h>H.J. Lu2012-04-101-32/+53
|
* 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-12/+70
|
* Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers2012-04-091-0/+15
|
* 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-20/+51
|
* Fix size parameter comparisions.Michael Matz2012-04-051-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 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.
* Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers2012-03-281-4/+43
|
* Fix last commitAndreas Jaeger2012-03-282-30/+24
| | | | | Merge the current i386 version of sysdeps/i386/configure.in Regenerate configure
* Merge branch 'elf-move'Andreas Jaeger2012-03-275-160/+487
|\ | | | | | | | | | | | | Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
| * Merge branch 'master' into elf-moveAndreas Jaeger2012-03-201-0/+67
| |\
| * | Fix last line in configure.in.Andreas Jaeger2012-03-191-1/+1
| | |
| * | Fix last line.Andreas Jaeger2012-03-191-2/+365
| | |
| * | Remove now obsolete elf/configure file.Andreas Jaeger2012-03-191-125/+0
| | |
| * | Merge contents from sysdeps/i386/configure.in (without i686 check)Andreas Jaeger2012-03-191-2/+91
| | |
| * | Move x86_64/elf files to x86_64Andreas Jaeger2012-03-192-0/+0
| | |
* | | Make sure x86_64 GOT entry slot is always 8 bytesH.J. Lu2012-03-231-4/+14
| | |
* | | Fix cexp overflow (bug 13892).Joseph Myers2012-03-221-2/+32
| | |
* | | Replace Elf64_XXX with ElfW(XXX) in dl-irel.hH.J. Lu2012-03-221-7/+7
| | |
* | | Replace unsigned long with uint64_tH.J. Lu2012-03-221-2/+2
| | |
* | | Add sysdeps/x86_64/preconfigureH.J. Lu2012-03-222-0/+182
| | |
* | | Add x32 support to dynamic linker auditH.J. Lu2012-03-211-1/+19
| | |
* | | Disable use of FMA instructions in branredAndreas Schwab2012-03-214-8/+1
| | |
* | | Remove inaccurate x86 cexp implementations (bug 13883).Joseph Myers2012-03-211-0/+22
| | |
* | | Fix pow of zero and infinity to large powers.Joseph Myers2012-03-211-0/+41
| | |
* | | Check __x86_64__ instead of __WORDSIZE in mathinline.hH.J. Lu2012-03-201-5/+3
| | |
* | | Support x86-64 __jmp_buf with __WORDSIZE != 64H.J. Lu2012-03-201-0/+2
| | |
* | | Use atomic64_t with 64bit atomic macrosH.J. Lu2012-03-191-7/+7
| | |
* | | Check __x86_64__ instead of __WORDSIZE for fenv_tH.J. Lu2012-03-191-4/+1
| | |
* | | Check __x86_64__ instead of __WORDSIZE in mathdef.hH.J. Lu2012-03-191-4/+2
| | |
* | | Use int64_t in x86_64/fpu/math_private.hH.J. Lu2012-03-191-2/+2
| | |
* | | Cast _Unwind_GetCFA return to _Unwind_Ptr firstH.J. Lu2012-03-191-1/+3
| |/ |/|
* | Fix clog overflow/underflow (bug 13629).Joseph Myers2012-03-191-0/+67
|/
* Optimize private 387 fenv access; share code between i386 and x86_64.Richard Henderson2012-03-191-119/+1
|
* i386/x86_64: Optimize feholdexcept.Richard Henderson2012-03-191-14/+7
|
* Create and use libc_feupdateenv_test.Richard Henderson2012-03-191-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 Henderson2012-03-191-0/+23
|
* Convert libc_feholdexcept et al from macros to inline functions.Richard Henderson2012-03-191-57/+57
|
* Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson2012-03-191-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 definedH.J. Lu2012-03-161-1/+3
|
* Disable Bessel function TLOSS errors in POSIX mode.Joseph Myers2012-03-161-2/+39
|
* Fix tan, tanl for large inputs.Joseph Myers2012-03-163-46/+28
|
* * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.Jan Kratochvil2012-03-161-1/+6
| | | | (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.