This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15384] One constant fewer in ieee754/dbl-64/wordsize-64/s_finite.c
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 17 Sep 2015 16:48:27 +0000
- Subject: [Bug math/15384] One constant fewer in ieee754/dbl-64/wordsize-64/s_finite.c
- Auto-submitted: auto-generated
- References: <bug-15384-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15384
--- Comment #10 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, master has been updated
via b8682397ab2db1aed7f25d0a0c7c81134a97c8c7 (commit)
from 46f74e1deee549b41160d353ce0c8f7db555d36c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b8682397ab2db1aed7f25d0a0c7c81134a97c8c7
commit b8682397ab2db1aed7f25d0a0c7c81134a97c8c7
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Sep 17 16:47:14 2015 +0000
Reduce number of constants in __finite* (bug 15384).
Bug 15384 notes that in __finite, two different constants are used
that could be the same constant (the result only depends on the
exponent of the floating-point representation), and that using the
same constant is better for architectures where constants need loading
from a constant pool. This patch implements that change.
Tested for x86_64, mips64 and powerpc.
[BZ #15384]
* sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
bit-mask as in subtraction.
* sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
Likewise.
* sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
* sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++++++
NEWS | 14 +++++++-------
sysdeps/ieee754/dbl-64/s_finite.c | 2 +-
sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c | 2 +-
sysdeps/ieee754/flt-32/s_finitef.c | 2 +-
sysdeps/ieee754/ldbl-128/s_finitel.c | 2 +-
sysdeps/ieee754/ldbl-128ibm/s_finitel.c | 2 +-
7 files changed, 21 insertions(+), 12 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.