From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15281 invoked by alias); 17 Sep 2015 16:48:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 14375 invoked by uid 55); 17 Sep 2015 16:48:32 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/15384] One constant fewer in ieee754/dbl-64/wordsize-64/s_finite.c Date: Thu, 17 Sep 2015 16:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ondra at iuuk dot mff.cuni.cz X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00230.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=15384 --- Comment #10 from 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 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.