From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55473 invoked by alias); 21 Jun 2015 17:49:09 -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 55433 invoked by uid 55); 21 Jun 2015 17:49:05 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/16361] [i386/x86_64] x86 / x86_64 expl / exp10l missing underflows Date: Sun, 21 Jun 2015 17:49: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: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: unassigned at sourceware dot org 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-06/txt/msg00220.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16361 --- Comment #3 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 7540cfc5a8c39eca9ba7b631dd30b35f6530f54d (commit) from d6cc0b4feaacf7514167cde0b3935f0c9b2c2d88 (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=7540cfc5a8c39eca9ba7b631dd30b35f6530f54d commit 7540cfc5a8c39eca9ba7b631dd30b35f6530f54d Author: Joseph Myers Date: Sun Jun 21 17:48:04 2015 +0000 Fix x86 / x86_64 expl, exp10l missing underflows (bug 16361). Similar to various other bugs in this area, the x86 and x86_64 implementations of expl / exp10l can fail to produce underflow exceptions when the unscaled result has trailing 0 bits so the scaling down to subnormal precision is exact. This patch fixes this by forcing the exception in the case of tiny results. Tested for x86_64 and x86. [BZ #16361] * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object. [!USE_AS_EXPM1L] (IEEE754_EXPL): Force underflow exception for tiny results. * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object. [!USE_AS_EXPM1L] (IEEE754_EXPL): Force underflow exception for tiny results. * math/auto-libm-test-in: Add more tests of exp and exp10. Do not mark underflow exceptions as possibly missing for bug 16361. * math/auto-libm-test-out: Regenerated. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 13 ++ NEWS | 28 +++--- math/auto-libm-test-in | 5 +- math/auto-libm-test-out | 260 ++++++++++++++++++++++++++++++++++++++---- sysdeps/i386/fpu/e_expl.S | 16 +++- sysdeps/x86_64/fpu/e_expl.S | 15 +++- 6 files changed, 294 insertions(+), 43 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.