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.
Adhemerval Zanella [Fri, 6 Dec 2013 11:53:49 +0000 (05:53 -0600)]
PowerPC: Update NEWS with ppc32/power4+ STT_GNU_IFUNC support
Adhemerval Zanella [Wed, 16 Oct 2013 11:33:03 +0000 (06:33 -0500)]
PowerPC: Adjust multiarch Implies for PowerPC32
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 [Tue, 15 Oct 2013 11:52:35 +0000 (06:52 -0500)]
PowerPC: multiarch __ieee754_hypot[f] for PowerPC32
Adhemerval Zanella [Tue, 15 Oct 2013 03:01:36 +0000 (22:01 -0500)]
PowerPC: multiarch logb/logbf/logbl for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 21:32:24 +0000 (16:32 -0500)]
PowerPC: multiarch modf/modff for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 21:18:27 +0000 (16:18 -0500)]
PowerPC: multiarch lrint/lrintf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 21:14:09 +0000 (16:14 -0500)]
PowerPC: multiarch lround/lrounf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 21:02:38 +0000 (16:02 -0500)]
PowerPC: multiarch copysign/copysignf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 20:51:20 +0000 (15:51 -0500)]
PowerPC: multiarch trunc/truncf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 20:38:51 +0000 (15:38 -0500)]
PowerPC: multiarch round/roundf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 20:32:46 +0000 (15:32 -0500)]
PowerPC: multiarch floor/floorf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 20:26:50 +0000 (15:26 -0500)]
PowerPC: multiarch ceil/ceilf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 20:18:42 +0000 (15:18 -0500)]
PowerPC: multiarch finite/finitef for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 20:05:53 +0000 (15:05 -0500)]
PowerPC: multiarch isinf/isinff for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 18:28:13 +0000 (13:28 -0500)]
PowerPC: multiarch isnan/isnanf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 17:45:00 +0000 (12:45 -0500)]
PowerPC: multiarch sqrt/sqrtf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 17:40:27 +0000 (12:40 -0500)]
PowerPC: multiarch llround/llroundf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 17:09:28 +0000 (12:09 -0500)]
PowerPC: multiarch llrint/llrintf for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 16:43:48 +0000 (11:43 -0500)]
PowerPC: change sysdeps fpu folder
This patch makes the fpu/multiarch folder appears in front of the
powerpc/fpu folder.
Adhemerval Zanella [Mon, 14 Oct 2013 14:59:59 +0000 (09:59 -0500)]
PowerPC: multiarch wordcopy routines for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 14:43:31 +0000 (09:43 -0500)]
PowerPC: multiarch wcscpy for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 14:26:07 +0000 (09:26 -0500)]
PowerPC: multiarch wcsrchr for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 14:23:12 +0000 (09:23 -0500)]
PowerPC: multiarch wcschr for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 14:14:43 +0000 (09:14 -0500)]
PowerPC: multiarch strchr for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 14:14:06 +0000 (09:14 -0500)]
PowerPC: multiarch strchrnul for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 13:58:17 +0000 (08:58 -0500)]
PowerPC: multiarch strncasecmp for PowerPC32
Adhemerval Zanella [Mon, 14 Oct 2013 13:49:53 +0000 (08:49 -0500)]
PowerPC: multiarch strcasecmp for PowerPC32