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-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 9BD701F463 for ; Tue, 7 Jan 2020 18:29:55 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=d0Kw w7UzOLBZNRAZEszxZ6qHx6TDr0HbCZK7RBmpoDimwHzX6Qga0RpkoVIsQBT3kqtO Ceq6o90Ae1v+PDPedKrdadGIQWaXH3cy8vwPrVn2u2wjlvKwXlJQvmrHKH4tC+26 QFw8hokopyyFEbzT89NBsPXSIlSMNMI9iERaHl0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; s=default; bh=2rmj+nQuYS eNjaIPNrT81w8Y3ew=; b=CpEp7SNcu8b40iyre98ccVcj3WcRxEt1FI2oiLP/Qx H77rnUcOwdi2t+JCAa1QnIkNMcFVuvhHZ5RFOvD7Li+tKs/P0jfLmMoNOjYPRQ+q z2Ebk+ADOfkJNwyoNoyWQ1nJCPSTsyowhFPoK/TKjILYTpR+GZUACQdK1TKN3zCR s= Received: (qmail 13249 invoked by alias); 7 Jan 2020 18:29:52 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 13241 invoked by uid 89); 7 Jan 2020 18:29:52 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-ua1-f54.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OYgQzJuuur57j9XKVS+RH2UMXQUOTcVAfZlp7NlVpCg=; b=VJUx1WOG01cbany0ukaC0nPAAJrmm6lQI8qP9UFcXjjCDlEiMUFbM5QzJI3Rzd6b6o IoC9NOPj8+0CB9MPKFn4uLxBO7Q9ppgblfkU7Odm0AbkDD2+ZfaAiHerKm8/i/PRgHt5 gSOC2/GxUfSpDHLvUmAIvzehPI+BAmLF3qAsBA0NTHf7eQbZXJhgwIv2J9tNZKiaqtFy HmovN+RjA4SaDKFZlBvKxo4P64hHDwCsK1hQpXqlyCOcR9fZoOHLE8+I3ZvtLYaUO7Fy ofvuDAqfQYUqkEmPHMB/P+IjaT71GQP6xOH4amV6nBjNd0PIwRz2W5jY3br1v/2uHKmt SEPQ== MIME-Version: 1.0 References: In-Reply-To: From: Jim Wilson Date: Tue, 7 Jan 2020 10:29:37 -0800 Message-ID: Subject: Re: Math errors To: Alistair Francis Cc: Joseph Myers , GNU C Library Content-Type: text/plain; charset="UTF-8" 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 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 problems. That of course assumes you have an up-to-date ulps file as Joseph already mentioned. Jim