From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5BA5A1F4B4 for ; Mon, 11 Jan 2021 18:38:09 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A061C386101E; Mon, 11 Jan 2021 18:38:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A061C386101E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1610390287; bh=SI77PAoN90zbyioGkbjJvZZew3U6TLAzLZ+i7kT69Jc=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=I1tGnGOHDejbJ5T/ufv8WQa1gaJoQ4GbdZB2ewq3IO7FN8WPojFOopPbZC7GgLPUc k8TMYkCLlPmSpLboGLAPjnfY5IQPQyUa6kSN4Wq+6QHRGltGZ2mo3I5PHPPNAJNxhf srjlHPZxFsBwqYKkA9FdFtT3/T1pGmGbdCyzIc7E= Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id 8C20B3857C65 for ; Mon, 11 Jan 2021 18:38:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8C20B3857C65 Received: by mail-oi1-x230.google.com with SMTP id q25so314560oij.10 for ; Mon, 11 Jan 2021 10:38:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SI77PAoN90zbyioGkbjJvZZew3U6TLAzLZ+i7kT69Jc=; b=SsIxICdSitVPZBTw2yy7oVQWqvtKVu3KfVOsXrHInHimdEZ19sCTsA253kPpdjvzxy 4WQ5Up78I7jksqjocBd2nvkOctIcpjJ/oi4CqjG+pJoWaZzlOqocEAiNg0iRJ6J0wu2F xmbXx0siYN+kxi6vpAa7btqg7jOJPiAbwd3ht7Vx/hvyrks8+mv8xmXRW2+RCoquTDA1 2DPaXgUXKdg+m9bQRlserJSKUvs+PG48SsPCQO/JLoH9nPMZAX8Kt9EYe/AFRwR1vnkv SNzP75+fu0WPRt8zJAGyRG2h39cB3DNjIi+lQR6Ck9GQ8G8RyTZ0bU6KXqbk6CSG59er cd1g== X-Gm-Message-State: AOAM530uk0Xge8Zc6BzX8kue+8rDoH9KG9+YKz8ONHCoXdu2YHWqifTu TcNxcHtqcgplA6ZBn0ZCVgRjllOPJ0WRL32kW2R5XMH9m4w= X-Google-Smtp-Source: ABdhPJwSGLZWcVAXkIhlor9HGuuHVRd8geXXMp6IF7q7TFeWK4953GNRq/y8stGX2CQiwI8PnGdZKVMqIwRMWQca7kw= X-Received: by 2002:aca:f456:: with SMTP id s83mr127302oih.58.1610390284014; Mon, 11 Jan 2021 10:38:04 -0800 (PST) MIME-Version: 1.0 References: <4b0af99b-8353-7201-ec79-aae1b8eada70@linaro.org> In-Reply-To: <4b0af99b-8353-7201-ec79-aae1b8eada70@linaro.org> Date: Mon, 11 Jan 2021 10:37:27 -0800 Message-ID: Subject: Re: New math test failures on Fedora/33 To: Adhemerval Zanella Content-Type: text/plain; charset="UTF-8" X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "H.J. Lu via Libc-alpha" Reply-To: "H.J. Lu" Cc: GNU C Library Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On Mon, Jan 11, 2021 at 8:28 AM Adhemerval Zanella wrote: > > > > On 11/01/2021 13:00, H.J. Lu via Libc-alpha wrote: > > On Fedora 33, I got these new math test failures: > > > > FAIL: math/test-double-cosh > > FAIL: math/test-float32x-cosh > > FAIL: math/test-float64-cosh > > > > for i686 glibc like > > > > Failure: cosh_upward (-0x2.c5d374p+12): Exception "Overflow" not set > > Failure: cosh_upward (-0x2.c5d37700c6bb2p+12): Exception "Overflow" not set > > Failure: cosh_upward (-0x2.c5d37700c6bbp+12): Exception "Overflow" not set > > Failure: cosh_upward (-0x2.c5d378p+12): Exception "Overflow" not set > > Failure: cosh_upward (-0x2.c679d1f73f0fcp+8): Exception "Overflow" not set > > Failure: cosh_upward (-0x2.c679d4p+8): Exception "Overflow" not set > > Failure: cosh_upward (-0xf.ffffffffffff8p+1020): Exception "Overflow" not set > > Failure: cosh_upward (-0xf.fffffp+124): Exception "Overflow" not set > > Failure: cosh_upward (0x2.c5d374p+12): Exception "Overflow" not set > > Failure: cosh_upward (0x2.c5d37700c6bb2p+12): Exception "Overflow" not set > > Failure: cosh_upward (0x2.c5d37700c6bbp+12): Exception "Overflow" not set > > Failure: cosh_upward (0x2.c5d378p+12): Exception "Overflow" not set > > Failure: cosh_upward (0x2.c679d1f73f0fcp+8): Exception "Overflow" not set > > Failure: cosh_upward (0x2.c679d4p+8): Exception "Overflow" not set > > Failure: cosh_upward (0xf.ffffffffffff8p+1020): Exception "Overflow" not set > > Failure: cosh_upward (0xf.fffffp+124): Exception "Overflow" not set > > This is a regression of BZ#18980 caused by 9e97f239eae1f2b1. The original > issue was fixed by c8235dda728c445, but the patch did not add the fix for > wordsize64 version because it does not require back then (since it seems > to happen on 32-bit, at least I am seeing on i686). > > This seems to fix it: > > diff --git a/sysdeps/ieee754/dbl-64/e_cosh.c b/sysdeps/ieee754/dbl-64/e_cosh.c > index 4f41ca2c92..81de5ae6bd 100644 > --- a/sysdeps/ieee754/dbl-64/e_cosh.c > +++ b/sysdeps/ieee754/dbl-64/e_cosh.c > @@ -33,6 +33,7 @@ > > #include > #include > +#include > #include > > static const double one = 1.0, half=0.5, huge = 1.0e300; > @@ -80,6 +81,6 @@ __ieee754_cosh (double x) > if(ix>=0x7ff00000) return x*x; > > /* |x| > overflowthresold, cosh(x) overflow */ > - return huge*huge; > + return math_narrow_eval (huge * huge); > } > libm_alias_finite (__ieee754_cosh, __cosh) It fixed i686. Can you check it in? BTW, I also saw random failure: FAIL: misc/tst-bz21269 [hjl@gnu-skx-1 build-i686-linux]$ cat misc/tst-bz21269.out Timed out: killed the child process Termination time: 2021-01-11T18:13:03.494991075 Last write to standard output: 2021-01-11T18:12:43.491654736 [hjl@gnu-skx-1 build-i686-linux]$ Is this a known issue? Thanks. -- H.J.