This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5268] huge and denornal reads and writes for long doubles
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 16 Nov 2013 03:54:37 +0000
- Subject: [Bug libc/5268] huge and denornal reads and writes for long doubles
- Auto-submitted: auto-generated
- References: <bug-5268-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=5268
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, ibm_2.18 has been created
at 40e9bbdd3d2ea22c2455949959ced90e054f6023 (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=40e9bbdd3d2ea22c2455949959ced90e054f6023
commit 40e9bbdd3d2ea22c2455949959ced90e054f6023
Author: Alan Modra <amodra@gmail.com>
Date: Sat Nov 16 10:18:28 2013 +1030
Mention powerpc64le support in NEWS and README, plus bugs fixed.
* NEWS: Mention powerpc64le support and bugs fixed.
* README: Both big-endian and little-endian powerpc64 supported.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=74af96bf910f7e10289c72a397564dab19131b31
commit 74af96bf910f7e10289c72a397564dab19131b31
Author: Alan Modra <amodra@gmail.com>
Date: Sat Nov 16 10:09:06 2013 +1030
PowerPC64le has ifunc too.
I believe this is really just a "documentation" fix.
See https://sourceware.org/ml/binutils/2013-10/msg00059.html
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d5f593430c7748f64321ecac36162646420a6aaf
commit d5f593430c7748f64321ecac36162646420a6aaf
Author: Alan Modra <amodra@gmail.com>
Date: Sat Oct 5 17:05:54 2013 +0930
Set arch_minimum_kernel for powerpc*le.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c325a11f7fa409423514de4af55ba63cc559cbf0
commit c325a11f7fa409423514de4af55ba63cc559cbf0
Author: Alan Modra <amodra@gmail.com>
Date: Sat Aug 17 19:11:11 2013 +0930
A little more precise %Lf for IBM long double
http://sourceware.org/ml/libc-alpha/2013-08/msg00106.html
IBM long double has variable precision and we often have values with
107 bits during the normal course of calculations. It's possible to
have an IBM long double with 2k bits of precision, and while some might
argue we ought to print to the full precision, I'm not inclined to try
to implement that.
So this patch gives the mpn values returned from ldbl2mpn() an extra
11 bits of precision. To do that it's necessary to inform the caller
of __mpn_extract_long_double() exactly how many bits are returned
rather than assuming a fixed LDBL_MANT_DIG bits. I did that
indirectly by returning the number of zero bits in the last mp_limb,
which turns out to be convenient both in __mpn_extract_long_double(),
and it's caller. Given the extra parameter it then becomes possible
to omit shifting in __mpn_extract_long_double(), since the caller does
that anyway.
In the following, note that 1 - IEEE854_LONG_DOUBLE_BIAS is equal to
LDBL_MIN_EXP - 1. I prefer the former since we already use
IEEE854_LONG_DOUBLE_BIAS in the exponent calculation for normalised
values, and it reinforces the fact that denormals are treated as if
their unbiased exponent was 1.
[BZ #5268]
* include/gmp.h (__mpn_extract_double, __mpn_extract_long_double):
Update prototypes.
* stdio-common/printf_fp.c: Likewise.
(__printf_fp): Use returned zero_bits.
* stdlib/dbl2mpn.c (__mpn_extract_double): Update funtion arguments.
* sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Don't perform
shifts for denormals here. Instead return leading zero bit count
and adjust return value of function.
* sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_long_double):
Likewise.
* sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double):
Likewise.
* sysdeps/ieee754/ldbl-96/ldbl2mpn.c (__mpn_extract_long_double):
Likewise.
* sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
Likewise. Return an extra 11 bits of precision.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e24fc3c2914e0e17836455991e43151d453eb34c
commit e24fc3c2914e0e17836455991e43151d453eb34c
Author: Alan Modra <amodra@gmail.com>
Date: Thu Oct 3 14:09:27 2013 +0930
PowerPC LE ABI tests
http://sourceware.org/ml/libc-alpha/2013-08/msg00096.html
This adds ABI tests for powerpc64le.
* Makerules (abilist): Define and use var in abilist rules.
* sysdeps/unix/sysv/linux/powerpc/Makefile (abilist): Define.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist,
*
sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist,
*
sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist,
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
New files.
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.