platform/upstream/linaro-glibc.git
13 years agoOptimize x86-64 SSE4.2+ strcmp a bit more
Ulrich Drepper [Tue, 25 Oct 2011 18:50:31 +0000 (14:50 -0400)]
Optimize x86-64 SSE4.2+ strcmp a bit more

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 25 Oct 2011 15:09:55 +0000 (11:09 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoUse math_force_eval in more places
Ulrich Drepper [Tue, 25 Oct 2011 14:52:45 +0000 (10:52 -0400)]
Use math_force_eval in more places

13 years agoUse correct signedness in default implementations of wcscmp and wmemcmp
Andreas Schwab [Tue, 25 Oct 2011 13:06:34 +0000 (15:06 +0200)]
Use correct signedness in default implementations of wcscmp and wmemcmp

13 years agoFix strchr test
Andreas Schwab [Tue, 25 Oct 2011 12:55:08 +0000 (14:55 +0200)]
Fix strchr test

13 years agoUse VEX encoding in inline math functions on x86-64 when possible
Ulrich Drepper [Tue, 25 Oct 2011 12:17:57 +0000 (08:17 -0400)]
Use VEX encoding in inline math functions on x86-64 when possible

13 years agoSmall optimization of dependency sorting
Andreas Schwab [Tue, 25 Oct 2011 11:30:44 +0000 (13:30 +0200)]
Small optimization of dependency sorting

13 years agoCleanup FMA4 patch
Ulrich Drepper [Tue, 25 Oct 2011 04:56:33 +0000 (00:56 -0400)]
Cleanup FMA4 patch

Move the FMA4 code into its own section.  Avoid some of the duplication
of data resulting from the double use of source files.

13 years agoBetter DLA_FMS
Ulrich Drepper [Tue, 25 Oct 2011 02:11:21 +0000 (22:11 -0400)]
Better DLA_FMS

It's better to use __builtin_fma if it works.  Use it for gcc 4.6 and
higher.  Move the x86-64 dla.h to the correct place.

13 years agoRemove warnings in NPTL tests
Ulrich Drepper [Tue, 25 Oct 2011 01:43:33 +0000 (21:43 -0400)]
Remove warnings in NPTL tests

13 years agoUse inline asm for DLA_FMS because of broken old compilers
Ulrich Drepper [Tue, 25 Oct 2011 01:17:10 +0000 (21:17 -0400)]
Use inline asm for DLA_FMS because of broken old compilers

13 years agoOptimize accurate 64-bit routines for FMA4 on x86-64
Ulrich Drepper [Tue, 25 Oct 2011 00:19:17 +0000 (20:19 -0400)]
Optimize accurate 64-bit routines for FMA4 on x86-64

13 years agoFinish renamed DLA_FMA -> DLA_FMS
Ulrich Drepper [Mon, 24 Oct 2011 18:21:18 +0000 (14:21 -0400)]
Finish renamed DLA_FMA -> DLA_FMS

13 years agoFix lost wcslen symbol
Andreas Schwab [Mon, 24 Oct 2011 09:46:19 +0000 (11:46 +0200)]
Fix lost wcslen symbol

13 years agoOptimized remquo for 64-bit platforms
Ulrich Drepper [Mon, 24 Oct 2011 01:31:21 +0000 (21:31 -0400)]
Optimized remquo for 64-bit platforms

13 years agoOptimize f_mod
Ulrich Drepper [Mon, 24 Oct 2011 00:55:26 +0000 (20:55 -0400)]
Optimize f_mod

Branch prediction for the 32-bit implementation and a new optimized
64-bit implementation.

13 years agoRemove unnecessary include from x86-32 tls.h
Ulrich Drepper [Sun, 23 Oct 2011 20:31:09 +0000 (16:31 -0400)]
Remove unnecessary include from x86-32 tls.h

13 years agoFix strnlen change
Ulrich Drepper [Sun, 23 Oct 2011 20:30:40 +0000 (16:30 -0400)]
Fix strnlen change

13 years agoAdd optimized wcslen and strnlen for x86-32
Liubov Dmitrieva [Sun, 23 Oct 2011 19:17:23 +0000 (15:17 -0400)]
Add optimized wcslen and strnlen for x86-32

13 years agoFix WS
Ulrich Drepper [Sun, 23 Oct 2011 18:57:28 +0000 (14:57 -0400)]
Fix WS

13 years agoOptimized strnlen and wcscmp for x86-64
Liubov Dmitrieva [Sun, 23 Oct 2011 18:56:04 +0000 (14:56 -0400)]
Optimized strnlen and wcscmp for x86-64

13 years agoMore WS
Ulrich Drepper [Sun, 23 Oct 2011 18:42:59 +0000 (14:42 -0400)]
More WS

13 years agoFix WS
Ulrich Drepper [Sun, 23 Oct 2011 18:42:16 +0000 (14:42 -0400)]
Fix WS

13 years agoRegnerate with modern bison
Ulrich Drepper [Sun, 23 Oct 2011 18:41:45 +0000 (14:41 -0400)]
Regnerate with modern bison

13 years agoImprove x86-32 SSSE3 memcpy
Michael Zolotukhin [Sun, 23 Oct 2011 18:28:26 +0000 (14:28 -0400)]
Improve x86-32 SSSE3 memcpy

13 years agoFix WS
Ulrich Drepper [Sun, 23 Oct 2011 18:15:06 +0000 (14:15 -0400)]
Fix WS

13 years agoAdd wcschr test cases
Liubov Dmitrieva [Sun, 23 Oct 2011 18:14:26 +0000 (14:14 -0400)]
Add wcschr test cases

13 years agoAdd wcslen test cases
Liubov Dmitrieva [Sun, 23 Oct 2011 18:11:50 +0000 (14:11 -0400)]
Add wcslen test cases

13 years agoUpdate Italian translation
Ulrich Drepper [Sun, 23 Oct 2011 18:08:08 +0000 (14:08 -0400)]
Update Italian translation

13 years agoMore WS fixes
Ulrich Drepper [Sun, 23 Oct 2011 17:35:48 +0000 (13:35 -0400)]
More WS fixes

13 years agoFix WS
Ulrich Drepper [Sun, 23 Oct 2011 17:35:24 +0000 (13:35 -0400)]
Fix WS

13 years agoFix signedness in wcscmp comparison
Liubov Dmitrieva [Sun, 23 Oct 2011 17:34:15 +0000 (13:34 -0400)]
Fix signedness in wcscmp comparison

13 years agoClean up FMA use
Ulrich Drepper [Sun, 23 Oct 2011 17:31:01 +0000 (13:31 -0400)]
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.

13 years agoClean up last dla.h change
Ulrich Drepper [Sun, 23 Oct 2011 16:50:28 +0000 (12:50 -0400)]
Clean up last dla.h change

13 years agoAdd missing _finite aliases
Andreas Schwab [Sun, 23 Oct 2011 13:20:16 +0000 (15:20 +0200)]
Add missing _finite aliases

13 years agoFix typo in last change
Ulrich Drepper [Sun, 23 Oct 2011 00:09:58 +0000 (20:09 -0400)]
Fix typo in last change

13 years agoUpdate ULPs for x86-64
Ulrich Drepper [Sun, 23 Oct 2011 00:06:23 +0000 (20:06 -0400)]
Update ULPs for x86-64

13 years agoImprove DLA_FMA for FMA4
Ulrich Drepper [Sat, 22 Oct 2011 23:53:33 +0000 (19:53 -0400)]
Improve DLA_FMA for FMA4

13 years agoStart using fma in the libm implementation
Ulrich Drepper [Sat, 22 Oct 2011 23:02:20 +0000 (19:02 -0400)]
Start using fma in the libm implementation

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sat, 22 Oct 2011 17:18:08 +0000 (13:18 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoAdd branch predictions to complex math code
Ulrich Drepper [Sat, 22 Oct 2011 17:17:30 +0000 (13:17 -0400)]
Add branch predictions to complex math code

13 years agoFix compilation due to __nan defines
Andreas Schwab [Sat, 22 Oct 2011 11:49:49 +0000 (13:49 +0200)]
Fix compilation due to __nan defines

13 years agoOptimization to some complex math functions
Ulrich Drepper [Sat, 22 Oct 2011 04:32:39 +0000 (00:32 -0400)]
Optimization to some complex math functions

Also, change last reference to __sqrt into __sqrt to easily.

13 years agoFix compilation problems in x86-64 init-arch
Ulrich Drepper [Sat, 22 Oct 2011 00:47:20 +0000 (20:47 -0400)]
Fix compilation problems in x86-64 init-arch

13 years agoAdd some __builtin_expect to generic __ieee754_log
Ulrich Drepper [Fri, 21 Oct 2011 16:28:42 +0000 (12:28 -0400)]
Add some __builtin_expect to generic __ieee754_log

13 years agoDon't use NULL in last s_fma{,f} change
Ulrich Drepper [Fri, 21 Oct 2011 11:39:28 +0000 (07:39 -0400)]
Don't use NULL in last s_fma{,f} change

13 years agoCheck for FMA4 support and generate appropriate fma functions
Ulrich Drepper [Fri, 21 Oct 2011 02:43:15 +0000 (22:43 -0400)]
Check for FMA4 support and generate appropriate fma functions

13 years agoMove fma routines to right place
Ulrich Drepper [Fri, 21 Oct 2011 01:55:41 +0000 (21:55 -0400)]
Move fma routines to right place

13 years agoCL is for code changes
Ulrich Drepper [Fri, 21 Oct 2011 01:33:37 +0000 (21:33 -0400)]
CL is for code changes

13 years agoDocument copyright year range notation in README.
Carlos O'Donell [Thu, 20 Oct 2011 21:46:24 +0000 (17:46 -0400)]
Document copyright year range notation in README.

The FSF now allows year range notation for copyright years.

See `6.5 Copyright Notices' from:
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html

We comply with the FSF requirements for the use of range
notation by documenting the usage in our README.

13 years agoPreserve link time dependencies over relocation dependencies
Andreas Schwab [Wed, 19 Oct 2011 15:13:56 +0000 (17:13 +0200)]
Preserve link time dependencies over relocation dependencies

13 years agoOptimize x86-64 rawmemchr and add test
Ulrich Drepper [Thu, 20 Oct 2011 02:22:29 +0000 (22:22 -0400)]
Optimize x86-64 rawmemchr and add test

13 years agoAdd optimized str{,n}casecmp for AVX on x86-64
Ulrich Drepper [Wed, 19 Oct 2011 16:42:38 +0000 (12:42 -0400)]
Add optimized str{,n}casecmp for AVX on x86-64

13 years agoFix PLT use for feraiseexcept on x86_64
Andreas Schwab [Wed, 19 Oct 2011 09:16:57 +0000 (11:16 +0200)]
Fix PLT use for feraiseexcept on x86_64

13 years agoUse new internal libc_fe* interfaces in more functions
Ulrich Drepper [Tue, 18 Oct 2011 19:11:31 +0000 (15:11 -0400)]
Use new internal libc_fe* interfaces in more functions

13 years agoProvide combined internal feholdexcept/fesetround interface
Ulrich Drepper [Tue, 18 Oct 2011 13:59:04 +0000 (09:59 -0400)]
Provide combined internal feholdexcept/fesetround interface

13 years agoPretty print last change to x86-64 mathinline.h
Ulrich Drepper [Tue, 18 Oct 2011 13:38:47 +0000 (09:38 -0400)]
Pretty print last change to x86-64 mathinline.h

13 years agoAdd optimized nearbyint{,f} for x86-64
Ulrich Drepper [Tue, 18 Oct 2011 13:13:23 +0000 (09:13 -0400)]
Add optimized nearbyint{,f} for x86-64

13 years agoStart optimizing the use of the fenv interfaces in libm itself
Ulrich Drepper [Tue, 18 Oct 2011 13:00:46 +0000 (09:00 -0400)]
Start optimizing the use of the fenv interfaces in libm itself

13 years agoFix last change
Andreas Schwab [Tue, 18 Oct 2011 12:11:02 +0000 (14:11 +0200)]
Fix last change

13 years agoFix linkage conflict with feraiseexcept
Andreas Schwab [Tue, 18 Oct 2011 08:37:56 +0000 (10:37 +0200)]
Fix linkage conflict with feraiseexcept

13 years agoSmall optimization of generic exp2
Ulrich Drepper [Tue, 18 Oct 2011 03:16:34 +0000 (23:16 -0400)]
Small optimization of generic exp2

13 years agoAdd optimized 64-bit frexp
Ulrich Drepper [Tue, 18 Oct 2011 02:30:44 +0000 (22:30 -0400)]
Add optimized 64-bit frexp

13 years agoRelax asm requirements for recently added x86-64 math interfaces
Ulrich Drepper [Tue, 18 Oct 2011 00:30:52 +0000 (20:30 -0400)]
Relax asm requirements for recently added x86-64 math interfaces

13 years agoMakr x86-64 math_private.h more robust
Ulrich Drepper [Mon, 17 Oct 2011 20:00:39 +0000 (16:00 -0400)]
Makr x86-64 math_private.h more robust

13 years agoProvide internal optimizations on x86-64 with SSE4.1
Ulrich Drepper [Mon, 17 Oct 2011 15:23:40 +0000 (11:23 -0400)]
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.

13 years agoFix last x86-64 mathinline change
Ulrich Drepper [Mon, 17 Oct 2011 14:37:00 +0000 (10:37 -0400)]
Fix last x86-64 mathinline change

Use correct function names.

13 years agoFix nesting of #ifdefs in netgroupcache.c
Ulrich Drepper [Mon, 17 Oct 2011 14:30:03 +0000 (10:30 -0400)]
Fix nesting of #ifdefs in netgroupcache.c

13 years agoFix syntax error in __THROW macro
Andreas Schwab [Mon, 17 Oct 2011 09:22:13 +0000 (11:22 +0200)]
Fix syntax error in __THROW macro

13 years agoCorrectly handle missing initgroups database
Andreas Schwab [Fri, 14 Oct 2011 15:57:07 +0000 (17:57 +0200)]
Correctly handle missing initgroups database

13 years agoUse leaf function attribute in __THROW
Ulrich Drepper [Mon, 17 Oct 2011 01:29:11 +0000 (21:29 -0400)]
Use leaf function attribute in __THROW

13 years agoUse rounds{s,d} for x86 rint, ceil, floor
Ulrich Drepper [Mon, 17 Oct 2011 00:58:17 +0000 (20:58 -0400)]
Use rounds{s,d} for x86 rint, ceil, floor

13 years agoCleanup last patch
Ulrich Drepper [Sun, 16 Oct 2011 14:24:02 +0000 (10:24 -0400)]
Cleanup last patch

13 years agoFix potential problem with skipping relocations
Ulrich Drepper [Sun, 16 Oct 2011 13:34:51 +0000 (09:34 -0400)]
Fix potential problem with skipping relocations

We never seem to have hit this problem but way relative relocations
were skipped was wrong.  There are relative relocations only in the
DT_REL/DT_RELA section.  The elf_dynamic_do_##reloc function skipped
the entries in all calls, though.

13 years agoNo need for boundary case handling in x86-32 __ieee_log
Ulrich Drepper [Sun, 16 Oct 2011 02:21:53 +0000 (22:21 -0400)]
No need for boundary case handling in x86-32 __ieee_log

13 years agoOptimized floor for 64-bit architectures
Ulrich Drepper [Sun, 16 Oct 2011 01:44:45 +0000 (21:44 -0400)]
Optimized floor for 64-bit architectures

13 years agoAdd cosh optimized for 64-bit architectures
Ulrich Drepper [Sun, 16 Oct 2011 00:47:01 +0000 (20:47 -0400)]
Add cosh optimized for 64-bit architectures

13 years agoOptimize exp
Ulrich Drepper [Sun, 16 Oct 2011 00:22:59 +0000 (20:22 -0400)]
Optimize exp

Add __exp*_finite optimizations and rewrite some wrappers.

13 years agoNo need for boundary case handling in x86-32 __ieee_logf
Ulrich Drepper [Sat, 15 Oct 2011 22:09:12 +0000 (18:09 -0400)]
No need for boundary case handling in x86-32 __ieee_logf

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sat, 15 Oct 2011 20:28:27 +0000 (16:28 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoOptimize access to isXYZ and toXYZ tables
Ulrich Drepper [Sat, 15 Oct 2011 20:27:08 +0000 (16:27 -0400)]
Optimize access to isXYZ and toXYZ tables

The functions to get the pointers can now depend on the TLS variable
be initialized.

13 years agoFix lost wmemcmp symbol
Andreas Schwab [Sat, 15 Oct 2011 18:29:06 +0000 (20:29 +0200)]
Fix lost wmemcmp symbol

13 years agoFix searching for C++ system headers for cross compilers
Andreas Schwab [Sat, 15 Oct 2011 18:08:45 +0000 (20:08 +0200)]
Fix searching for C++ system headers for cross compilers

13 years agoFix WS
Ulrich Drepper [Sat, 15 Oct 2011 15:11:12 +0000 (11:11 -0400)]
Fix WS

13 years agoOptimized memcmp and wmemcmp for x86-64 and x86-32
Liubov Dmitrieva [Sat, 15 Oct 2011 15:10:08 +0000 (11:10 -0400)]
Optimized memcmp and wmemcmp for x86-64 and x86-32

13 years agoAdd parameter annotation to modf
Andreas Jaeger [Sat, 15 Oct 2011 14:08:07 +0000 (10:08 -0400)]
Add parameter annotation to modf

13 years agoAvoid warning in iofwide
Ulrich Drepper [Sat, 15 Oct 2011 13:52:26 +0000 (09:52 -0400)]
Avoid warning in iofwide

13 years agoFix definition of __isctype_f
Ulrich Drepper [Sat, 15 Oct 2011 05:06:47 +0000 (01:06 -0400)]
Fix definition of __isctype_f

13 years agoRemove leftover debug message from pldd
Ulrich Drepper [Sat, 15 Oct 2011 03:51:20 +0000 (23:51 -0400)]
Remove leftover debug message from pldd

13 years agoAdd missing BZ number to NEWS
Ulrich Drepper [Sat, 15 Oct 2011 03:47:57 +0000 (23:47 -0400)]
Add missing BZ number to NEWS

13 years agoOptimize x86-32 log
Ulrich Drepper [Sat, 15 Oct 2011 03:41:47 +0000 (23:41 -0400)]
Optimize x86-32 log

13 years agoSupport optimized isXXX functions in C++ code
Ulrich Drepper [Fri, 14 Oct 2011 22:46:12 +0000 (18:46 -0400)]
Support optimized isXXX functions in C++ code

13 years agoAdjust s390 libm ULPs
Andreas Schwab [Fri, 14 Oct 2011 09:41:06 +0000 (11:41 +0200)]
Adjust s390 libm ULPs

13 years agoFix lost feraiseexcept symbol
Andreas Schwab [Fri, 14 Oct 2011 09:21:05 +0000 (11:21 +0200)]
Fix lost feraiseexcept symbol

13 years agoBZ#13291: Manual typo fix for strverscmp.
Roland McGrath [Thu, 13 Oct 2011 16:49:28 +0000 (09:49 -0700)]
BZ#13291: Manual typo fix for strverscmp.

13 years agoFix PLT use in feupdateenv on x86_64
Andreas Schwab [Thu, 13 Oct 2011 13:10:31 +0000 (15:10 +0200)]
Fix PLT use in feupdateenv on x86_64

13 years agoCheck for zero size in memrchr for x86_64
Andreas Schwab [Thu, 13 Oct 2011 11:33:58 +0000 (13:33 +0200)]
Check for zero size in memrchr for x86_64

13 years agoAdd memrchr tests
Andreas Schwab [Thu, 13 Oct 2011 10:39:24 +0000 (12:39 +0200)]
Add memrchr tests

13 years agoFix whitespaces
Ulrich Drepper [Wed, 12 Oct 2011 15:42:57 +0000 (11:42 -0400)]
Fix whitespaces

13 years agoOptimized memchr, memrchr, rawmemchr for x86-32
Liubov Dmitrieva [Wed, 12 Oct 2011 15:42:04 +0000 (11:42 -0400)]
Optimized memchr, memrchr, rawmemchr for x86-32