Liubov Dmitrieva
ce7dd29f28
Optimized strnlen and wcscmp for x86-64
2011-10-23 14:56:04 -04:00
Michael Zolotukhin
979c70a3b1
Improve x86-32 SSSE3 memcpy
2011-10-23 14:28:26 -04:00
Ulrich Drepper
f17424ed53
Fix WS
2011-10-23 13:35:24 -04:00
Liubov Dmitrieva
95584d3b33
Fix signedness in wcscmp comparison
2011-10-23 13:34:15 -04:00
Ulrich Drepper
774a2669af
Clean up FMA use
...
The macro's name should reflect that subtraction is being done. And
use __builtin_fma, it seems to work after all.
2011-10-23 13:31:01 -04:00
Ulrich Drepper
c8b3296bbe
Clean up last dla.h change
2011-10-23 12:50:28 -04:00
Andreas Schwab
246ad57ad6
Add missing _finite aliases
2011-10-23 15:32:05 +02:00
Ulrich Drepper
fb24de5932
Fix typo in last change
2011-10-22 20:09:58 -04:00
Ulrich Drepper
0d355eb7c7
Update ULPs for x86-64
2011-10-22 20:06:23 -04:00
Ulrich Drepper
fa36182bda
Improve DLA_FMA for FMA4
2011-10-22 19:53:33 -04:00
Ulrich Drepper
a1a8716924
Start using fma in the libm implementation
2011-10-22 19:02:20 -04:00
Andreas Schwab
ee2aafe08e
Fix compilation due to __nan defines
2011-10-22 14:03:26 +02:00
Ulrich Drepper
bc62c2fb15
Optimization to some complex math functions
...
Also, change last reference to __sqrt into __sqrt to easily.
2011-10-22 00:32:39 -04:00
Ulrich Drepper
c196fed8f0
Fix compilation problems in x86-64 init-arch
2011-10-21 20:47:20 -04:00
Ulrich Drepper
8ec250a484
Add some __builtin_expect to generic __ieee754_log
2011-10-21 12:28:42 -04:00
Ulrich Drepper
1a97a8c78f
Don't use NULL in last s_fma{,f} change
2011-10-21 07:39:28 -04:00
Ulrich Drepper
ed72b6545f
Check for FMA4 support and generate appropriate fma functions
2011-10-20 22:43:15 -04:00
Ulrich Drepper
8d4f46c613
Move fma routines to right place
2011-10-20 21:55:41 -04:00
Ulrich Drepper
855d156018
Optimize x86-64 rawmemchr and add test
2011-10-19 22:22:29 -04:00
Ulrich Drepper
d9a4d2ab27
Add optimized str{,n}casecmp for AVX on x86-64
2011-10-19 12:42:38 -04:00
Andreas Schwab
8f3b1ffefa
Fix PLT use for feraiseexcept on x86_64
2011-10-19 13:03:31 +02:00
Ulrich Drepper
d9a8d0abcc
Use new internal libc_fe* interfaces in more functions
2011-10-18 15:11:31 -04:00
Ulrich Drepper
4855e3ddf5
Provide combined internal feholdexcept/fesetround interface
2011-10-18 09:59:04 -04:00
Ulrich Drepper
23ce562780
Pretty print last change to x86-64 mathinline.h
2011-10-18 09:38:47 -04:00
Ulrich Drepper
581d30e386
Add optimized nearbyint{,f} for x86-64
2011-10-18 09:13:23 -04:00
Ulrich Drepper
d38f1dba00
Start optimizing the use of the fenv interfaces in libm itself
2011-10-18 09:00:46 -04:00
Andreas Schwab
83c7615c2d
Fix last change
2011-10-18 14:11:29 +02:00
Andreas Schwab
caa6c9d845
Fix linkage conflict with feraiseexcept
2011-10-18 11:46:51 +02:00
Ulrich Drepper
99ce7b04ed
Small optimization of generic exp2
2011-10-17 23:16:34 -04:00
Ulrich Drepper
1004d1821e
Add optimized 64-bit frexp
2011-10-17 22:30:44 -04:00
Ulrich Drepper
228a984d54
Relax asm requirements for recently added x86-64 math interfaces
2011-10-17 20:30:52 -04:00
Ulrich Drepper
c8553a6a6f
Makr x86-64 math_private.h more robust
2011-10-17 16:00:39 -04:00
Ulrich Drepper
ed22dcf691
Provide internal optimizations on x86-64 with SSE4.1
...
Provide macros so that the internal users can, if possible, directly use
the new instructions.
Also fix up the mathinline.h header when compiling with SSE4.1 enabled.
2011-10-17 11:23:40 -04:00
Ulrich Drepper
b171c13768
Fix last x86-64 mathinline change
...
Use correct function names.
2011-10-17 10:37:00 -04:00
Ulrich Drepper
ad0f5cad15
Use rounds{s,d} for x86 rint, ceil, floor
2011-10-16 20:58:17 -04:00
Ulrich Drepper
79b195b55a
No need for boundary case handling in x86-32 __ieee_log
2011-10-15 22:21:53 -04:00
Ulrich Drepper
d4a285692a
Optimized floor for 64-bit architectures
2011-10-15 21:44:45 -04:00
Ulrich Drepper
b61099b50a
Add cosh optimized for 64-bit architectures
2011-10-15 20:47:01 -04:00
Ulrich Drepper
bcf01e6d80
Optimize exp
...
Add __exp*_finite optimizations and rewrite some wrappers.
2011-10-15 20:22:59 -04:00
Ulrich Drepper
ba1a0d5938
No need for boundary case handling in x86-32 __ieee_logf
2011-10-15 18:09:12 -04:00
Ulrich Drepper
fd5bdc0924
Optimize access to isXYZ and toXYZ tables
...
The functions to get the pointers can now depend on the TLS variable
be initialized.
2011-10-15 16:27:08 -04:00
Ulrich Drepper
2d1f3a4db6
Fix WS
2011-10-15 11:11:12 -04:00
Liubov Dmitrieva
be13f7bff6
Optimized memcmp and wmemcmp for x86-64 and x86-32
2011-10-15 11:10:08 -04:00
Ulrich Drepper
38ad40ceca
Optimize x86-32 log
2011-10-14 23:41:47 -04:00
Andreas Schwab
349290c00a
Adjust s390 libm ULPs
2011-10-14 11:41:06 +02:00
Andreas Schwab
6b1f68c91f
Fix lost feraiseexcept symbol
2011-10-14 11:21:23 +02:00
Andreas Schwab
714fad23c6
Fix PLT use in feupdateenv on x86_64
2011-10-13 15:26:45 +02:00
Andreas Schwab
81dcc7fb74
Check for zero size in memrchr for x86_64
2011-10-13 13:34:41 +02:00
Ulrich Drepper
f9e123204e
Fix whitespaces
2011-10-12 11:42:57 -04:00
Liubov Dmitrieva
951fbcec70
Optimized memchr, memrchr, rawmemchr for x86-32
2011-10-12 11:42:04 -04:00
Ulrich Drepper
0ac5ae2335
Optimize libm
...
libm is now somewhat integrated with gcc's -ffinite-math-only option
and lots of the wrapper functions have been optimized.
2011-10-12 11:27:51 -04:00
Andreas Schwab
12cc2fcdb4
Implement __isinf_nsl for IBM long double
2011-10-10 21:39:59 +02:00
Roland McGrath
5060422095
Conditionalize unnecessary #include.
2011-10-08 15:28:21 -07:00
Roland McGrath
c658d255e9
Fix some nit warnings.
2011-10-08 15:25:08 -07:00
Ulrich Drepper
7edb55ce06
Optimize use of isnan, isinf, finite
2011-10-08 10:18:26 -04:00
Ulrich Drepper
66fb11b1da
Fix whitespace
2011-10-07 11:50:21 -04:00
Liubov Dmitrieva
093ecf9299
Improve 64 bit memchr, memrchr, rawmemchr with SSE2
2011-10-07 11:49:10 -04:00
Andreas Schwab
3a62d00d40
Don't call ifunc functions in trace mode
2011-10-05 14:35:40 +02:00
Andreas Schwab
68822d7426
Adjust powerpc libm ULPs
2011-09-28 10:12:56 +02:00
Andreas Schwab
bf972c9dfc
Fix parse error in bits/mathinline.h with --std=c99
2011-09-26 14:01:30 +02:00
Roland McGrath
ecb1482ffd
Clean up disabling of script_execute
2011-09-19 12:50:25 -07:00
Ulrich Drepper
88738eb6e9
finite for 64-bit platforms
2011-09-15 23:01:56 -04:00
Ulrich Drepper
2840865d5a
Define IP_MULTICAST_ALL
2011-09-15 18:09:53 -04:00
Roland McGrath
b402e91af4
Use HIDDEN_JUMPTARGET rather than spelling out its effects, for ____longjmp_chk implementations.
2011-09-15 12:26:08 -07:00
Ulrich Drepper
4d8e1f1195
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-09-15 13:12:25 -04:00
Ulrich Drepper
4c1a1f71c0
Add fmax and fmin inlines for x86-64
2011-09-15 13:11:08 -04:00
Andreas Schwab
edc121be8b
Fix PLT uses in libm on powerpc
2011-09-15 15:35:38 +02:00
Ulrich Drepper
ee4d03150a
Use correct section to allow merging
2011-09-14 13:43:24 -04:00
Ulrich Drepper
cd20565401
Optimized lrint and llrint for x86-64
2011-09-14 12:58:43 -04:00
Andreas Schwab
1ae12c758f
Fix undefined symbol in powerpc64 dl-machine.h
2011-09-13 20:01:15 +02:00
Andreas Schwab
e529793b50
Avoid macro clash between <sys/select.h> and <linux/posix_types.h>
2011-09-13 15:16:38 +02:00
Ulrich Drepper
8682f8b0e4
Optimize logb code for 64-bit machines
2011-09-12 16:21:24 -04:00
Andreas Schwab
a7c8e6a147
Fix invalid conversion in __cmsg_nxthdr
2011-09-12 15:48:12 +02:00
Ulrich Drepper
773523e08d
Merge branch 'master' of ssh://sourceware.org/git/glibc
2011-09-11 15:02:32 -04:00
Ulrich Drepper
83cd142045
Remove --wth-tls option, TLS support is required
2011-09-11 15:02:01 -04:00
Andreas Schwab
0f31fe7791
Prepend $(..) to $(ldd-rewrite-script) if non-absolute
2011-09-11 20:34:57 +02:00
Ulrich Drepper
02d46fc4b9
Simplify malloc initialization
...
Singificantly reduce the code needed at malloc initialization. In
the process getpagesize is simplified by always initializing
GLRO(dl_pagesize).
2011-09-10 21:47:36 -04:00
Ulrich Drepper
d063d16433
Remove support for !USE___THREAD
2011-09-10 16:50:28 -04:00
Petr Baudis
1248c1c415
Fix jn precision
2011-09-09 22:16:10 -04:00
Ulrich Drepper
f19009c155
Use (void*) instead of 0 for return value pointer in __cmsg_nexthdr
2011-09-09 21:46:08 -04:00
Paul Pluzhnikov
7f5517aa52
Fix lround() loses precision
2011-09-08 23:37:32 -04:00
Ulrich Drepper
92963737c4
Remove support for automatic cvs check-ins
...
CVS use for glibc is long gone.
2011-09-08 23:19:04 -04:00
Samuel Thibault
a12b2239dd
sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
2011-09-08 09:46:06 -07:00
Roland McGrath
7f513ec8b3
Hurd: fix use of uninitialized value in fork port copying.
2011-09-08 09:37:42 -07:00
Liubov Dmitrieva
48882a1abe
Fix up x86-32 section names for Atom code
2011-09-07 22:28:44 -04:00
Ulrich Drepper
3d4837df4a
Check for finite/infinity parms in IBM Long Double 128 fmal( )
...
This patch addresses some IBM Long Double 128 fmal () test-ldouble.out
and test-ildoubl.out failures. If the ‘x’ and ‘y’ parameters are
finite values and ‘z’ is infinity, the result of fmal () should be ‘z’
not NaN.
Conflicts:
ChangeLog
2011-09-07 22:17:33 -04:00
Ulrich Drepper
bd8f72ec2a
Fix whitespaces
2011-09-07 22:12:47 -04:00
Adhemerval Zanella
77a2a8b4a1
Trigonometric optimizations for POWER
2011-09-07 22:10:26 -04:00
Alan Modra
24f579d86e
Fix profiling on powerpc32 secure-plt shared libs and PIEs
2011-09-07 22:02:42 -04:00
Will Schmidt
2270037782
power7 strncmp optimization
2011-09-07 21:56:57 -04:00
Will Schmidt
5025581e1c
power7 memcpy VSX optimizations
2011-09-07 21:54:41 -04:00
Ulrich Drepper
a450513e1d
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-09-07 21:52:39 -04:00
H.J. Lu
08a300c956
Simplify AVX check
2011-09-07 21:38:23 -04:00
Andreas Schwab
59178ef977
Revert "Fix semid_ds for x86-64"
...
This reverts commit 2f0ad8f3a4
.
2011-09-07 14:29:53 +02:00
Ulrich Drepper
e38ba7ab6a
Make sure __vdso_clock_gettime always contains a valid pointer
2011-09-07 00:07:08 -04:00
Ulrich Drepper
fc8bffcccf
Fix handling of __vdso_clock_gettime
2011-09-06 23:50:04 -04:00
Ulrich Drepper
ceaa0c5dc3
Move Atom-optimized code out of the way and together
2011-09-06 21:53:03 -04:00
Ulrich Drepper
a77d3c17dc
Don't unconditionally use clock_gettime vsyscall on x86-64
2011-09-06 21:34:11 -04:00
Ulrich Drepper
d53a73acdb
Avoid gettimeofday vsyscall
2011-09-06 20:22:37 -04:00
Ulrich Drepper
42a36f6670
Merge branch 'master' of ssh://sourceware.org/git/glibc
2011-09-06 17:21:04 -04:00
Ulrich Drepper
8e1294e83f
Remove now-wrong comment
2011-09-06 17:20:33 -04:00
Andreas Schwab
a8f84144c9
Fix missing declaration
2011-09-06 11:20:51 +02:00
Ulrich Drepper
ef60624956
Prefer real syscalls instead of vsyscalls on x86-64 outside libc.so
2011-09-06 00:12:18 -04:00
Ulrich Drepper
6d18b67f4d
Fix whitespaces
2011-09-05 21:42:12 -04:00
Liubov Dmitrieva
a5f524e479
Add Atom-optimized strchr and strrchr for x86-64
2011-09-05 21:34:03 -04:00
Ulrich Drepper
d96de9634a
Try shell in posix_spawn* only in compat mode
2011-09-05 20:24:50 -04:00
Ulrich Drepper
b0fc1ff04e
Fix whitespaces
2011-09-05 17:12:27 -04:00
Liubov Dmitrieva
693fb94884
Optimized strchr and strrchr with SSE2 on x86-32
2011-09-05 17:11:11 -04:00
Ulrich Drepper
49d42c37ba
Add optimized x86-64 wcscmp
2011-09-05 14:08:23 -04:00
Ulrich Drepper
5fc11f0d64
Fix whitespaces
2011-09-05 13:54:51 -04:00
Ulrich Drepper
1b48c53782
Add x86-32 optimized wcscmp
2011-09-05 13:53:27 -04:00
David S. Miller
15c95c5d1a
Fixes and optimizations for 32-bit sparc fabs*().
2011-09-05 10:06:15 -07:00
Ulrich Drepper
3b142ce572
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-09-05 12:46:12 -04:00
Ulrich Drepper
2f0ad8f3a4
Fix semid_ds for x86-64
2011-09-05 12:44:22 -04:00
David S. Miller
5f4318d102
Sanitize HWCAP_SPARC_* defines/usage, and add new entries.
2011-09-01 13:43:06 -07:00
David S. Miller
3ba575169a
Fix sparc localplt testcase failures.
2011-08-31 17:30:41 -07:00
Jiri Olsa
fbeb5f4db1
rtld, i386: Fix cfi directive in audit trampoline code
...
_dl_runtime_profile function has wrong cfi directive when
rewinding stack back for the pltexit path.
Only 8 bytes - 2 'pop edx' instructions from the pltentry-only
code should be rewinded back.
With attached patch, I'm able to rewind stack correctly
throught the rtld code from audit library callback.
2011-08-29 09:14:51 -04:00
David S. Miller
ad69cc2652
Rewritten v9/64-bit sparc strcmp.
2011-08-24 01:32:24 -07:00
David S. Miller
22044b48ba
Fix nptl/tst-cancel17 and nptl/tst-cancelx17 with recent gcc.
2011-08-23 23:24:01 -07:00
David S. Miller
2c0b250ae4
Fix jmpbuf unwind checks on sparc64.
2011-08-23 23:17:52 -07:00
Andreas Schwab
2cae499541
Fix spurious nop at start of __strspn_ia32
2011-08-23 15:53:51 +02:00
Aurelien Jarno
873a772e30
Fix duplicate definition of Elf64_FuncDesc
2011-08-23 15:05:32 +02:00
David S. Miller
25ad0df13b
Bug fixes for ____longjmp_chk on sparc.
2011-08-22 16:53:57 -07:00
Andreas Schwab
70538b7fe6
Fix missing declaration
2011-08-22 12:17:05 +02:00
Ulrich Drepper
91b392a4ba
Use ifuncs for time and gettimeofday on x86-64
2011-08-21 13:52:28 -04:00
Ulrich Drepper
0276a718c0
Fix minor CFI problem in regular x86-64 trampoline
2011-08-20 08:58:44 -04:00
Ulrich Drepper
c88f17668b
Fix CFI info in x86-64 trampolines for non-AVX code
2011-08-20 08:56:30 -04:00
Andreas Schwab
94d7165ffa
Adjust libm test ulps for powerpc
2011-08-20 08:39:39 -04:00
Andreas Schwab
3b41ae4d7d
Remove the file<
2011-08-20 08:38:58 -04:00
Andreas Schwab
51ccffa074
Use correct scandir64 implementation on ppc64
2011-08-20 08:33:42 -04:00
David S. Miller
c27714f111
Fix tst-writev on non-4K page size
2011-08-17 21:51:21 -04:00
Ulrich Drepper
174baab3f9
Improve printing of lookup scopes
...
The scope of a new object should be printed earlier and when the scope
of an already loaded object is extended only the changes should be
printed.
2011-08-16 16:11:03 -04:00
Roland McGrath
85ae058936
More warning patrol, in dead code (sigh).
2011-08-14 19:26:36 -07:00
Roland McGrath
5e4287d16f
Warning patrol.
2011-08-14 15:59:11 -07:00
David S. Miller
9c96ff2385
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
...
RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2011-08-14 04:09:28 -07:00
Ulrich Drepper
73d7af4f4c
Implement LD_DEBUG=scopes
2011-08-13 22:24:08 -04:00
Ulrich Drepper
8e999d2962
Minor optimization of popcount in l10nflist
2011-08-11 14:07:04 -04:00
Ulrich Drepper
2df1f7be58
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-08-11 13:02:45 -04:00
Andreas Schwab
14d9678512
Clean up PLT use for scandirat
2011-08-11 11:41:09 -04:00
David S. Miller
6761ac045d
* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
...
enum.
* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2011-08-10 23:09:24 -07:00
Ulrich Drepper
c55fbd1ea7
Implement scandirat function
2011-08-09 09:57:55 -04:00
Ulrich Drepper
879165f25a
Avoid multiple definitions of identical scandir cancellation handler
2011-08-08 13:49:37 -04:00
Andreas Schwab
2e96f1c73b
Fix encoding name for IDN in getaddrinfo
2011-08-04 15:42:10 -04:00
Jakub Jelinek
85188888f6
Fix up __kernel_rem_pio2 for FLT_EVAL_METHOD != 0 architectures
2011-08-04 15:40:16 -04:00
Ulrich Drepper
b969a69b2e
Fix whitespaces
2011-08-04 15:38:35 -04:00
Liubov Dmitrieva
5fa16e9b01
Improve x86-32 strcat functions with SSE2/SSSE3
2011-08-04 15:33:38 -04:00
Andreas Schwab
8c1a459f9a
Fix inline strncat/strncmp on x86
2011-08-04 14:59:25 -04:00
Ulrich Drepper
8accd4dccc
Define AF_NFC and PF_NFC
2011-07-23 20:06:48 -04:00
Ulrich Drepper
cbff0d9689
Update ptrace constants
2011-07-23 19:10:18 -04:00
Ulrich Drepper
bba33c289b
One more typo in AVX test
2011-07-23 15:18:13 -04:00