H.J. Lu
610b86225e
Add sysdeps/x86_64/x32/_itoa.h
2012-05-18 07:37:55 -07:00
Andreas Jaeger
7a185db2b7
Do not provide inlines for GCC build-in functions
2012-05-18 09:08:14 +02:00
H.J. Lu
2e4c1e9edb
Cast to unsigned long
2012-05-17 12:44:52 -07:00
H.J. Lu
477cc68e90
Add tst-mallocalign1
2012-05-17 09:55:25 -07:00
Carlos O'Donell
1a0994f535
BZ#14059: Fix AVX and FMA4 detection.
...
Fix AVX and FMA4 detection by following the guidelines
set out by Intel and AMD for detecting these features.
2012-05-17 06:59:28 -07:00
H.J. Lu
953ca31a0c
Add x32 gmp-mparam.h
2012-05-16 11:54:57 -07:00
H.J. Lu
617aca05db
Add x32 ffs
2012-05-16 11:54:56 -07:00
H.J. Lu
48baa5f1d1
Add dummy files for x32
2012-05-16 10:24:02 -07:00
Joseph Myers
a9538892ad
Split up stackguard-macros.h into sysdeps directories.
2012-05-15 23:34:30 +00:00
H.J. Lu
9317101683
Add x86_64 Implies-after files
2012-05-15 14:38:32 -07:00
H.J. Lu
d86813a021
Use R*_LP to call _dl_profile_fixup and frame size
2012-05-15 14:24:00 -07:00
H.J. Lu
3b550e9e48
Add sysdeps/x86_64/x32/sysdep.h
2012-05-15 12:49:42 -07:00
H.J. Lu
eda4170670
Use R*_LP on SP and PC in __longjmp.S and setjmp.S
2012-05-15 12:46:04 -07:00
H.J. Lu
be8498fca0
Use RSP_LP to operate on stack in stackinfo.h
2012-05-15 10:00:56 -07:00
H.J. Lu
70bc83b910
Load pointers into RAX_LP in strcmp-sse42.S
2012-05-15 09:59:31 -07:00
H.J. Lu
9bc0b730a6
Load cache sizes into R*_LP in memcpy-ssse3.S
2012-05-15 09:58:28 -07:00
H.J. Lu
6d2850e7f5
Load cache sizes into R*_LP in memcpy-ssse3-back.S
2012-05-15 09:56:17 -07:00
H.J. Lu
3cb845617b
Load pointers into R*_LP in strcmp.S
2012-05-15 09:54:05 -07:00
H.J. Lu
54e2ed8105
Load cache sizes into R11_LP/R8_LP
2012-05-15 09:52:35 -07:00
H.J. Lu
8a17f34979
Load cache size into R8_LP
2012-05-15 09:35:43 -07:00
H.J. Lu
6cdef1ab36
Update sysdeps/x86_64/start.S for x32
2012-05-14 17:50:41 -07:00
H.J. Lu
0b254d8f3d
Add sysdeps/x86_64/{64,x32}/shlib-versions
2012-05-14 16:23:57 -07:00
H.J. Lu
11de3a3371
Update elf_machine_load_address for x32
2012-05-14 15:17:30 -07:00
H.J. Lu
520ae0fd0b
Define LP_SIZE/LP_OP/ASM_ADDR/RXX_LP for x86-64
2012-05-14 14:56:07 -07:00
H.J. Lu
b985be81fa
Add x32 dl-machine.h
2012-05-14 13:21:46 -07:00
H.J. Lu
1cf463cd4e
Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes
2012-05-11 11:50:11 -07:00
H.J. Lu
0a10fb9eec
Don't handle R_X86_64_RELATIVE64 in ld.so
2012-05-10 19:24:54 -07:00
H.J. Lu
df8a552f6f
Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32
2012-05-10 17:05:06 -07:00
Roland McGrath
b5c086a281
Typo fix in x86_64/dl-machine.h
2012-05-10 10:20:51 -07:00
H.J. Lu
c8c59454ea
Sign extend R_X86_64_DTPOFF64/R_X86_64_TPOFF64
2012-05-10 10:05:40 -07:00
Andreas Jaeger
bdd74070cc
Add volatiles for x86-64 bits/mathinline.h
...
[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-09 20:17:21 +02:00
H.J. Lu
4b30f61a1e
Replace Elf64_XXX/ELF64_R_TYPE with ElfW(XXX)/ELFW(R_TYPE)
2012-05-08 09:39:58 -07:00
Joseph Myers
495fd99f3a
Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).
2012-05-07 19:13:08 +00:00
Joseph Myers
d8b82cad1b
Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).
2012-05-06 18:23:44 +00:00
Andreas Jaeger
d7cf87a64e
Update x86-64 libm-test-ulps
2012-05-06 09:32:12 +02:00
Joseph Myers
41498f4db1
Fix missing exceptions from exp (bugs 13787, 13922, 14036).
2012-05-05 19:37:39 +00:00
Joseph Myers
6698b8bf43
Use .S sources for x86/x86_64 expl.
2012-05-05 19:34:31 +00:00
Joseph Myers
adfbc8ac9e
Fix x86 acos near 1 (bug 13942).
2012-04-30 18:56:39 +00:00
Joseph Myers
5ba3cc691c
Fix acos (-1) in round-downwards mode on x86 (bug 14034).
2012-04-30 09:38:06 +00:00
Markus Trippelsdorf
8280f22d30
Update sysdeps/x86_64/fpu/libm-test-ulps
...
[BZ #13927 ]
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012-04-21 14:14:27 +02:00
Andreas Schwab
fb5e92c979
Remove useless __ilogb*_finite aliases
2012-04-18 00:40:13 +02:00
Adhemerval Zanella
76da726532
Fix ilogb exception and errno (bug 6794)
...
[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-17 22:12:53 +02:00
H.J. Lu
34a27407f4
Check __ILP32__ instead of __LP64__
...
* 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-13 16:24:17 -07:00
H.J. Lu
7e73e17d3f
Add __ILP32__ check when defining __WORDSIZE
2012-04-13 16:17:14 -07:00
H.J. Lu
b46068fcf2
Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h>
2012-04-10 13:02:41 -07:00
Joseph Myers
8f9a2faee0
Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).
2012-04-09 22:32:45 +00:00
Joseph Myers
bcc8d6617b
Fix ctan, ctanh overflow (bug 11521).
2012-04-09 22:31:35 +00:00
Joseph Myers
c483f6b4a4
Fix x86 pow inaccuracy for large integer exponents (bug 706).
2012-04-09 09:42:05 +00:00
Mike Frysinger
3884932b78
memset: also update copyright years
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-08 14:20:37 -04:00
Mike Frysinger
1e4920e080
memset: fix define usage for shared libs
...
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-07 16:33:50 -04:00