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=-2.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,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=no 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 999E41F463 for ; Fri, 3 Jan 2020 02:18:51 +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=vkha ydFTCHa8hsiRqTaihtAW08K/jfU6nuPUfVnjpaZPnVVeMn80cy12NcJzMxOZAOkN IIZCojMk/IC4bXLjrOfJyWq4RWx1Q47wc+VrJI7UN41E4aLuoBSKzsnIcbA/CuUc izNBPH4nM/5+j7oejoKlGv/bPSKyeAc4+X6I63A= 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=Q6i0kLzCAq tDfPfEQSCugP8cuTM=; b=AUIiamyRJSoNt24hRAAu/e2/fJ0RP4yC+Gqr+C6CIw UPBsEFZ2Nvjn4ZWgXvoGhXDE3eGWnSOpK+esBJPbue3qOFd+dr1nnzthRI0Vwb10 szSmuqi1P+nsrDdJB8fyHdDL9iXJuFnPy1rDYsvF4yVXeE2gnmwaPbhWexcp+um3 g= Received: (qmail 44981 invoked by alias); 3 Jan 2020 02:18:48 -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 44967 invoked by uid 89); 3 Jan 2020 02:18:48 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-lj1-f178.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=ZKfAQOq+Hr1bbszTrN7peYzXPCLM1txXVuoD6zfe3XE=; b=PAXYJoQlOWGC3/pToA+9OyUq8BLA0yNE2p+bseTFKFCcpUY2R6q+FZP8jdyAYwABM2 JJvaFDbYyMaP+x1Realj/i1OU3YYs7QAY8EhFv3PxsTWrCR3nbtxdyL+I3OXUHMLizRT kQ/qOSS80RdmwC9cCTvvkmpwp5XPM7wA0nbL6n364C2mPKxPab9qH88Jd54b+DrbzZ5g CvRbTAnrt/R2rbdP0HdXAkcOEe50Slum+Rad2wo6sL0cDFH+0SyVnNlfv0xqGXVTO2On YSJ3IAP4m+NGgRazGICouo8UB48LGNBUfDjQopmIVybvX9QM3YJllSvTTAJ6E8gAIaZ8 yDGg== MIME-Version: 1.0 References: In-Reply-To: From: Alistair Francis Date: Thu, 2 Jan 2020 18:18:18 -0800 Message-ID: Subject: Re: Math errors To: Joseph Myers Cc: GNU C Library Content-Type: text/plain; charset="UTF-8" On Mon, Dec 30, 2019 at 2:29 PM Joseph Myers wrote: > > On Mon, 30 Dec 2019, Joseph Myers wrote: > > > On Mon, 30 Dec 2019, Alistair Francis wrote: > > > > > Hey, > > > > > > I'm running the `make check` tests on RV32 inside QEMU and about 800 > > > math tests are failing with errors along these lines: > > > > You need to generate libm-test-ulps for RV32 ("make regen-ulps") (also > > remember to create a corresponding libm-test-ulps-name file for use in > > generating the table in the manual). > > I should add: first try renaming the RV64 libm-test-ulps to make it > generic for both RV32 and RV64. You should only need a separate file for > RV32 if there is a clear reason for different results between the two. Thanks Joseph, I moved the RV64 one to be generic and that seems to fix most of the math tests. I tried `make regen-ulps` after that, just to be sure, and it didn't generate a diff. There are a handful of math tests that seem to fail, but if I manually run the test a few times I will eventually get a pass. Any hints on what to do there? Alistair > > -- > Joseph S. Myers > joseph@codesourcery.com