From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1615 invoked by alias); 14 Jan 2020 02:11:08 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 1607 invoked by uid 89); 14 Jan 2020 02:11:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=morning, wilson, Wilson X-HELO: mail-lf1-f44.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fxpp934fuyXuCYQDYQ5oweMDqeO3RJoq6F+z2udb3VY=; b=ItLM8M0+72YwtIZkg3obV521u8GJhJi+GcnRolHYw5Awve7yFw8dxe0FOpk5ZGcDAa amU0nrIooFs2UcWxm5tliIyus/a1zlG72rpwp+fOzfQQ3i4x57wEFeO5osMDEkxF2f5P 6sZ4EGej1L30BxBO1gV9HdRV9itGKtLk4O8gVggQXIKe+SwaWhhwYOIvjXEntPAzuGF2 YUX0KvG87Me8493D4v7+3ScakXpJzj6uBRs80jbXbb7k7y2J69/YPWDLdkv+HQ+TFOhF UCWFzsFrOR9FTF3ErDcqqKwhGanExrgU71IH8BLX+cXMq0Rwv9kG7oR0sp2PiBrS/P1U b98g== MIME-Version: 1.0 References: In-Reply-To: From: Alistair Francis Date: Tue, 14 Jan 2020 02:11:00 -0000 Message-ID: Subject: Re: Math errors To: Jim Wilson Cc: Joseph Myers , GNU C Library Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2020-01/txt/msg00242.txt.bz2 On Wed, Jan 8, 2020 at 4:29 AM Jim Wilson wrote: > > On Mon, Jan 6, 2020 at 5:33 PM Alistair Francis wrote: > > I have the latest 5.4.x kernel, I'm not sure if that has it or not. > > I don't know. I don't follow linux kernel development that closely. > But the failures I sometimes see are test-fenv and test-fpucw which I > don't see in your list. > > I only run glibc testsuite on hardware though, and I've only been > testing rv64gc support. I haven't tried qemu. In the RISC-V software > meeting this morning, Palmer mentioned that there are some known > RISC-V qemu FP bugs, for instance fcmp doesn't set the FP reg dirty > bit when an exception flag is set, which could cause a testcase > failure if a context switch happens at the wrong time. This could I have noticed that running the tests not in parallel gives much better results > cause tests to sometimes fail and sometimes work. I have seen some > RISC-V qemu FP bugs myself, for instance with NaN-boxing, where > sometimes single float outputs aren't NaN-boxed, and sometimes > non-NaN-boxed single float inputs don't cause failures. This is a > problem I noticed by accident, I don't know if that has been fixed > yet, and I don't know if that would cause glibc testsuite failures. > Someone will have to look at the rv32gc math failures, and keep an > open mind that they could be glibc, qemu, gcc, linux kernel, etc Yeah, that's what I was thinking. There are only a few math tests left failing, so it's not too bad. Thanks for the information Jim. Alistair > problems. That of course assumes you have an up-to-date ulps file as > Joseph already mentioned. > > Jim