Joseph Myers [Wed, 18 Dec 2013 15:17:39 +0000 (15:17 +0000)]
Update powerpc-nofpu localplt.data for fegetround hidden_proto / hidden_def.
My recent changes that added libm_hidden_proto / libm_hidden_def for
fegetround had the side effect of removing the need for a
localplt.data entry for fegetround for powerpc-nofpu. This patch
removes that entry. Tested powerpc-nofpu.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
Don't expect fegetround reference in libm.so.
Ondřej Bílka [Wed, 18 Dec 2013 13:29:47 +0000 (14:29 +0100)]
Add missing deftp to fix commit
4d84e6addd62bdc256627af.
Marcus Shawcroft [Tue, 17 Dec 2013 18:12:30 +0000 (18:12 +0000)]
Compile e_sqrt.c with -ffp-contract=off.
Marcus Shawcroft [Wed, 18 Dec 2013 10:00:07 +0000 (10:00 +0000)]
[AArch64] Save and restore q0-q7 on entry to dynamic linker.
[BZ #15128] Ensure all argument passing registers are saved and
restored on entry to dynamic linker.
Joseph Myers [Wed, 18 Dec 2013 11:46:16 +0000 (11:46 +0000)]
Mark some hypot tests no-test-inline.
As needed on x86.
* math/auto-libm-test-in: Mark some hypot tests no-test-inline.
* math/auto-libm-test-out: Regenerated.
Joseph Myers [Wed, 18 Dec 2013 11:38:27 +0000 (11:38 +0000)]
Fix ldbl-128 logl for subnormals (bug 16338).
This patch fixes bug 16338, ldbl-128 logl not handling subnormals
(with consequent inaccuracy for lgammal as well). The fix is simply
to use __frexpl when determining the exponent, as done already in
log2l and log10l. Given the lack of testing of small arguments to any
of the log* functions, appropriate tests are added for all of them.
Tested x86_64 and x86 and ulps updated accordingly, and spot tests
also run for mips64 to confirm the ldbl-128 fix.
Note that while this fixes lgammal inaccuracy for small positive
arguments, I suspect that there will still be problems with spurious
underflows in that case.
* sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
to determine exponent and adjust argument to have exponent of -1.
* math/auto-libm-test-in: Add more tests of log, log10, log1p and
log2.
* math/auto-libm-test-out: Regenerated.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
Ondřej Bílka [Wed, 18 Dec 2013 10:16:47 +0000 (11:16 +0100)]
Update documentation after dropping PER_THREAD conditional.
In probes documentation we described what happens when PER_THREAD is
disabled which is now not relevant.
Andreas Schwab [Wed, 18 Dec 2013 01:53:27 +0000 (11:53 +1000)]
Remove use of SSE4.2 functions for strstr on i686
The SSE4.2 have been removed from x86_64 by commit
584b18eb. This patch
fixes the build on i686, which attempts to use the removed files.
Joseph Myers [Tue, 17 Dec 2013 18:53:32 +0000 (18:53 +0000)]
Remove unused files from sysdeps/unix/bsd/bsd4.4/bits/.
Paul Eggert [Wed, 18 Sep 2013 20:15:12 +0000 (13:15 -0700)]
Support TZ transition times < 00:00:00.
This is needed for version-3 tz-format files; it supports time
stamps past 2037 for America/Godthab (the only entry in the tz
database for which this change is relevant).
* manual/time.texi (TZ Variable): Document transition times
from -167:59:59 through -00:00:01.
* time/tzset.c (tz_rule): Time of day is now signed.
(__tzset_parse_tz): Parse negative time of day.
Paul Eggert [Wed, 18 Sep 2013 20:01:11 +0000 (13:01 -0700)]
Document TZ transition times >= 25:00:00.
* manual/time.texi (TZ Variable): Document transition times from
25:00:00 through 167:59:59. These are already supported, and this
support will help with version-3 tz-format files.
Paul Eggert [Wed, 18 Sep 2013 19:58:13 +0000 (12:58 -0700)]
* manual/time.texi (TZ Variable): Modernize North America example
to reflect current (i.e., 2007-and-later) daylight saving rules.
Paul Eggert [Wed, 18 Sep 2013 19:54:53 +0000 (12:54 -0700)]
* manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
Joseph Myers [Tue, 17 Dec 2013 18:12:52 +0000 (18:12 +0000)]
Remove various unused files from sysdeps/unix/bsd/.
Joseph Myers [Tue, 17 Dec 2013 18:11:48 +0000 (18:11 +0000)]
Remove libbsd-compat dummy library.
Joseph Myers [Tue, 17 Dec 2013 18:05:42 +0000 (18:05 +0000)]
Remove __FAVOR_BSD.
Marcus Shawcroft [Tue, 17 Dec 2013 13:29:04 +0000 (13:29 +0000)]
[AArch64] Implement FUTEX_*_REQUEUE_PI
Adhemerval Zanella [Tue, 17 Dec 2013 16:23:00 +0000 (10:23 -0600)]
Update powerpc-fpu ULPs.
Joseph Myers [Tue, 17 Dec 2013 13:43:40 +0000 (13:43 +0000)]
Fix dbl-64 hypot spurious underflows (bug 16314).
Joseph Myers [Tue, 17 Dec 2013 13:42:13 +0000 (13:42 +0000)]
Fix hypot handling of subnormals (bug 16316, bug 16330).
Marcus Shawcroft [Tue, 17 Dec 2013 13:03:01 +0000 (13:03 +0000)]
[AArch64] libm-test-ulps regenerated from scratch.
Marcus Shawcroft [Tue, 17 Dec 2013 12:28:10 +0000 (12:28 +0000)]
[AArch64] Back out sqrt() addition to libm-test-ulps.
Kaz Kojima [Tue, 17 Dec 2013 00:00:05 +0000 (09:00 +0900)]
Make soft-float sh use soft-fp fma/fmaf.
Roland McGrath [Mon, 16 Dec 2013 22:09:52 +0000 (14:09 -0800)]
Clean up setjmp use in dl-error.c.
Joseph Myers [Mon, 16 Dec 2013 21:18:07 +0000 (21:18 +0000)]
Move tests of atan2, hypot and pow from libm-test.inc to auto-libm-test-in.
Joseph Myers [Mon, 16 Dec 2013 18:25:54 +0000 (18:25 +0000)]
Add missing bug number to NEWS.
Will Newton [Wed, 6 Nov 2013 16:07:25 +0000 (16:07 +0000)]
manual/memory.texi: Document aligned_alloc.
ChangeLog:
2013-12-16 Will Newton <will.newton@linaro.org>
* manual/memory.texi (Malloc Examples): Mention aligned_alloc.
(Aligned Memory Blocks): Add documentation for aligned_alloc
and suggest it as an alternative to posix_memalign.
(Hooks for Malloc): Document __memalign_hook is also called
for aligned_alloc. (Summary of Malloc): Add summary for
aligned alloc. Document __memalign_hook is also called
for aligned_alloc.
Will Newton [Wed, 6 Nov 2013 09:48:10 +0000 (09:48 +0000)]
manual/memory.texi: Bring aligned allocation docs up to date.
The current documentation suggests using memalign and valloc which
are now considered obsolete, so suggest using posix_memalign instead.
Also document the possible error return and errno values for memalign
and posix_memalign and improve documentation of __memalign_hook.
ChangeLog:
2013-12-16 Will Newton <will.newton@linaro.org>
* manual/memory.texi (Malloc Examples): Clarify default
alignment documentation. Suggest posix_memalign rather
than memalign or valloc.
(Aligned Memory Blocks): Remove suggestion to use memalign
or valloc. Remove obsolete comment about BSD.
Document memalign errno values and mark the function obsolete.
Document posix_memalign returned error codes. Mark valloc
as obsolete. (Hooks for Malloc): __memalign_hook is also
called for posix_memalign and valloc.
(Summary of Malloc): Add posix_memalign to function summary.
__memalign_hook is also called for posix_memalign and valloc.
Siddhesh Poyarekar [Mon, 16 Dec 2013 14:33:04 +0000 (20:03 +0530)]
Minor code cleanup in s_sin.c
- Remove redundant mynumber union definitions
- Clean up a clumsy ternary operator
- Rename TAYLOR_SINCOS to TAYLOR_SIN since we're only expanding the
sin Taylor series in it.
Allan McRae [Mon, 16 Dec 2013 11:45:27 +0000 (21:45 +1000)]
Set AUTOCONF variable when maintainer-mode is not used
Fixes build issue introduced in
8894bad3 when configure.ac is altered
and maintainer-mode is not enabled.
Allan McRae [Mon, 16 Dec 2013 02:44:14 +0000 (12:44 +1000)]
Update file name in x86_64 ifunc list
File name update missed in commit
584b18eb.
Allan McRae [Mon, 16 Dec 2013 01:25:04 +0000 (11:25 +1000)]
Add --enable-maintainer-mode configure option
Autoconf is tested for and run if needed only when --enable-maintainer-mode
is used on configure. This results in the autom4te.cache directory only
being written in the source directory during configure if automatic
autoconf usage is requested.
Fixes BZ #14120.
Allan McRae [Mon, 16 Dec 2013 01:21:08 +0000 (11:21 +1000)]
Add systemd unit file for nscd
Provide an example systemd unit and tmpfile for running nscd.
Ondřej Bílka [Sat, 14 Dec 2013 18:33:56 +0000 (19:33 +0100)]
Add strstr with unaligned loads. Fixes bug 12100.
A sse42 version of strstr used pcmpistr instruction which is quite
ineffective. A faster way is look for pairs of characters which is uses
sse2, is faster than pcmpistr and for real strings a pairs we look for
are relatively rare.
For linear time complexity we use buy or rent technique which switches
to two-way algorithm when superlinear behaviour is detected.
Kaz Kojima [Sat, 14 Dec 2013 01:12:32 +0000 (10:12 +0900)]
Move sysdeps/sh/sh4/fpu/bits/fenv.h to sysdeps/sh/bits/.
Adhemerval Zanella [Fri, 13 Dec 2013 21:05:56 +0000 (16:05 -0500)]
PowerPC: Update NEWS with ppc64 STT_GNU_IFUNC support
Adhemerval Zanella [Fri, 13 Dec 2013 20:38:01 +0000 (15:38 -0500)]
PowerPC: multiarch hypot/hypotf for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:37:23 +0000 (15:37 -0500)]
PowerPC: multiarch modf/modff for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:36:33 +0000 (15:36 -0500)]
PowerPC: multiarch logb/logbl/logbf for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:35:44 +0000 (15:35 -0500)]
PowerPC: multiarch isinf/isinff for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:34:52 +0000 (15:34 -0500)]
PowerPC: multiarch finite/finitef for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:33:54 +0000 (15:33 -0500)]
PowerPC: multiarch llrint/lrint for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:32:58 +0000 (15:32 -0500)]
PowerPC: multiarch copysign/copysignf for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:30:57 +0000 (15:30 -0500)]
PowerPC: multiarch trunc/truncf for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:06:01 +0000 (15:06 -0500)]
PowerPC: multiarch round/roundf for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:04:04 +0000 (15:04 -0500)]
PowerPC: multiarch floor/floorf for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:02:32 +0000 (15:02 -0500)]
PowerPC: multiarch ceil/ceilf for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:01:54 +0000 (15:01 -0500)]
PowerPC: multiarch llround/lround for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 20:01:10 +0000 (15:01 -0500)]
PowerPC: multiarch isnan/isnanf for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:58:02 +0000 (14:58 -0500)]
PowerPC: Adjust multiarch Implies for PowerPC64
This patch adds Implies files on multiarch folder for POWER chips so
multirach is enabled when building with --with-cpu and powerN
option.
Adhemerval Zanella [Fri, 13 Dec 2013 19:56:09 +0000 (14:56 -0500)]
PowerPC: Cleaning up uneeded sqrt routines
For PPC64, all the wrappers at sysdeps are superfluous: they are
basically the same implementation from math/w_sqrt.c with the
'#ifdef _IEEE_LIBM'. And the power4 version just force the 'fsqrt'
instruction utilization with an inline assembly, which is already
handled by math_private.h __ieee754_sqrt implementation.
Adhemerval Zanella [Fri, 13 Dec 2013 19:55:22 +0000 (14:55 -0500)]
PowerPC: multiarch stpcpy for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:54:41 +0000 (14:54 -0500)]
PowerPC: multiarch strcpy for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:54:08 +0000 (14:54 -0500)]
PowerPC: multiarch wordcopy for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:53:25 +0000 (14:53 -0500)]
PowerPC: multiarch wcscpy for PowerPC64.
Adhemerval Zanella [Fri, 13 Dec 2013 19:52:48 +0000 (14:52 -0500)]
PowerPC: multiarch wcsrchr for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:51:36 +0000 (14:51 -0500)]
PowerPC: multiarch wcschr for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:50:26 +0000 (14:50 -0500)]
PowerPC: multiarch strchrnul for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:49:54 +0000 (14:49 -0500)]
PowerPC: multiarch strchr for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:48:48 +0000 (14:48 -0500)]
PowerPC: multiarch strncmp for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:40:28 +0000 (14:40 -0500)]
PowerPC: multiarch strncasecmp for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:39:51 +0000 (14:39 -0500)]
PowerPC: multiarch strcasecmp for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:38:50 +0000 (14:38 -0500)]
PowerPC: multiarch strnlen for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:38:17 +0000 (14:38 -0500)]
PowerPC: multiarch strlen for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:37:26 +0000 (14:37 -0500)]
PowerPC: multiarch rawmemchr for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:36:50 +0000 (14:36 -0500)]
PowerPC: multiarch memrchr for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:35:28 +0000 (14:35 -0500)]
PowerPC: multiarch memchr for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:34:06 +0000 (14:34 -0500)]
PowerPC: multiarch mempcpy for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:33:16 +0000 (14:33 -0500)]
PowerPC: multiarch memset/bzero for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:32:31 +0000 (14:32 -0500)]
PowerPC: multirach memcmp for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:31:41 +0000 (14:31 -0500)]
PowerPC: multiarch memcpy for PowerPC64
Adhemerval Zanella [Fri, 13 Dec 2013 19:29:27 +0000 (14:29 -0500)]
PowerPC: Adjust multiarch Implies for PowerPC64
This patch adds Implies files on multiarch folder for POWER chips so
multirach is enabled when building with --with-cpu and powerN
option.
Kaz Kojima [Thu, 12 Dec 2013 23:45:01 +0000 (08:45 +0900)]
Use $$ver instead of $ver.
Toke Høiland-Jørgensen [Thu, 12 Dec 2013 20:24:06 +0000 (15:24 -0500)]
Update NEWS
Toke Høiland-Jørgensen [Thu, 12 Dec 2013 19:47:25 +0000 (14:47 -0500)]
Add entries for U00D8 and U00F8.
Adhemerval Zanella [Wed, 11 Dec 2013 18:10:35 +0000 (12:10 -0600)]
PowerPC: Add DSO and TAR fields to TLS
Carlos O'Donell [Thu, 12 Dec 2013 05:44:29 +0000 (00:44 -0500)]
Add test case for pthread_[sg]etname_np.
This commit adds a testcase for pthread_setname_np
and pthread_getname_np. The testcase itself has
four tests to validate that these functions work
as expected. The test is only enabled for Linux
since it requires access to an alternate method
for validating the functions work.
Siddhesh Poyarekar [Thu, 12 Dec 2013 04:01:53 +0000 (09:31 +0530)]
benchmark inputs for exp2, log2, log and tan
Marko Myllynen [Thu, 12 Dec 2013 03:54:35 +0000 (09:24 +0530)]
Fix Charset comment in fi_FI, fi_FI@euro
Roland McGrath [Wed, 11 Dec 2013 18:00:32 +0000 (10:00 -0800)]
ChangeLog whitespace fix.
Marcus Shawcroft [Wed, 11 Dec 2013 16:19:34 +0000 (16:19 +0000)]
[AArch64] Regenerate libm-test-ulps.
Siddhesh Poyarekar [Wed, 11 Dec 2013 06:38:19 +0000 (12:08 +0530)]
Consolidate definition of constant t22
Siddhesh Poyarekar [Wed, 11 Dec 2013 05:54:25 +0000 (11:24 +0530)]
Use double constants instead of the struct number
Ondřej Bílka [Tue, 10 Dec 2013 18:36:28 +0000 (19:36 +0100)]
Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
Ondřej Bílka [Tue, 10 Dec 2013 16:56:59 +0000 (17:56 +0100)]
Drop PER_THREAD conditionals from malloc.
Adhemerval Zanella [Mon, 9 Dec 2013 23:44:10 +0000 (17:44 -0600)]
Add GLIBC_2.3 and GLIBC_2.19 in Versions.def
This patch adds GLIBC_2.3 and GLIBC_2.19 mark on Version.def so they are always
define in abi-versions.h. This fixes a build issue with fe_nomask.c in PPC64
LE where neither GLIBC_2_3 or GLIBC_2_19 are defined for SHLIB_COMPAT, resulting
in a wrong evaluation in the macro.
Andreas Schwab [Mon, 9 Dec 2013 23:08:12 +0000 (00:08 +0100)]
m68k: use math_force_eval in nextafterl
Andreas Schwab [Wed, 4 Dec 2013 00:41:08 +0000 (01:41 +0100)]
m68k: add support for PI futexes
Andreas Schwab [Wed, 4 Dec 2013 00:35:01 +0000 (01:35 +0100)]
m68k: don't assume PI futexes before 3.10
Andreas Schwab [Mon, 9 Dec 2013 23:03:47 +0000 (00:03 +0100)]
ChangeLog fix
Ondřej Bílka [Mon, 9 Dec 2013 16:25:19 +0000 (17:25 +0100)]
Simplify perturb_byte logic.
Ondřej Bílka [Mon, 9 Dec 2013 16:14:12 +0000 (17:14 +0100)]
Replace malloc force_reg by atomic_forced_read.
Andreas Schwab [Tue, 26 Nov 2013 11:22:58 +0000 (12:22 +0100)]
Fix CFI annotations in pthread_cond_timedwait for i486+
Adhemerval Zanella [Mon, 9 Dec 2013 12:52:04 +0000 (06:52 -0600)]
Update powerpc-fpu ULPs.
Markus Trippelsdorf [Mon, 9 Dec 2013 05:36:11 +0000 (11:06 +0530)]
Update x86_64 ULps for AMD K10
Joseph Myers [Sun, 8 Dec 2013 23:56:28 +0000 (23:56 +0000)]
Move tests of lgamma from libm-test.inc to auto-libm-test-in.
Richard Henderson [Fri, 6 Dec 2013 20:17:01 +0000 (06:17 +1000)]
alpha: Convert <bits/mman.h> to <bits/mman-linux.h>
Adhemerval Zanella [Fri, 22 Nov 2013 12:38:45 +0000 (06:38 -0600)]
PowerPC: Optimized mpn functions for PowerPC64/POWER7
This patch add optimized __mpn_add_n/__mpn_sub_n for PowerPC64/POWER7.
They are originally from GMP with adjustments for GLIBC.
Adhemerval Zanella [Fri, 22 Nov 2013 12:38:03 +0000 (06:38 -0600)]
PowerPC: Optimized mpn functions for PowerPC64
This patch add optimized __mpn_addmul, __mpn_addsub, __mpn_lshift, and
__mpn_mul_1 implementations for PowerPC64. They are originally from GMP
with adjustments for GLIBC.
Fernando J. V. da Silva [Fri, 6 Dec 2013 17:04:10 +0000 (18:04 +0100)]
Fix BZ #15089: malloc_trim always trim for large padding.