From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 0E0753851C07 for ; Mon, 13 Jul 2020 21:26:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0E0753851C07 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: wb130rSi1EgLLbZdBvKp2qkXxp5GRE63QObw1t4dY4xIOQ3y9ECnzGgJZE8g+SHsk1qbXTuzqQ Nb3D9Ejhs5DF7MCUoW1ZU3pR7JsFVXULe1W86nAolWLyW449lGwSui+dqzDJfx20fLrhyh6kVj 5mQ7cwPt8Oi+UIVDJb1wCX4KNBofdSUdYpPUtCSYHE3Rj0KzWmaXMl9870oTyRFGODurzfSgyU B9k5KKuhlkNs+Ahg0t+8r7KbzHnaK4AIFv1+1JC6w2bqJG9xHB5gYxXjvcoPw1/mmCPtr4B1LK RuA= X-IronPort-AV: E=Sophos;i="5.75,348,1589270400"; d="scan'208";a="53014211" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 13 Jul 2020 13:26:58 -0800 IronPort-SDR: 8mCSk7QJTHfnhvMidpUuNAogQypOjwIeQ4xFYY8qPKlAL6LCZjBr0nZt71IlaawVVkmMxdCp4r aSsZGuGEFoXMBL2q6+dUtlW6FyGFLHxixeMgsdKXGU0yGGroKnM6GfzAwJCX5bOepApOEcm1Af +VesBDyeh0KsujIfFfFjh0fjZTSMzQu0M3ExmSFeKNpR9y/Fe3REqp61NhLSjG8NQ7hLEiTuOP H4mFJPePbJDg+kSpGDTXda4cCa1aKzY59XS1ZW3ks5DRsiKzj0RBg2c4eic/a1cKjaEQzG444n f50= Date: Mon, 13 Jul 2020 21:26:53 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: "Maciej W. Rozycki" CC: Alistair Francis , Subject: Re: [PATCH v3 13/19] RISC-V: Add the RV32 libm-test-ulps In-Reply-To: Message-ID: References: <6f6f811cb3453c1de41c8cb542aace23162f90a0.1594568655.git.alistair.francis@wdc.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3129.2 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Mon, 13 Jul 2020 21:27:01 -0000 On Mon, 13 Jul 2020, Maciej W. Rozycki via Libc-alpha wrote: > On Sun, 12 Jul 2020, Alistair Francis via Libc-alpha wrote: > > > Add a libm-test-ulps for RV32, this is the same as the RV64 one. > > > > This dosn't match what is generated by running `make regen-ulps` on RV32 > > QEMU, but the current in tree RV64 doesn't match that either. > > For the record RV32 and RV64 QEMU ULPS results (obtained in the Linux > user emulation mode) match each other in my setup. However those don't > match RV64 results obtained with my HiFive Unleashed hardware, and then > those don't match our existing RV64 results, so I guess they will have to > be regenerated for the upcoming release. If results on QEMU and on hardware (for the same binaries) don't match, that indicates a bug in one or the other, which you could find by identifying the exact instruction at which different floating-point values first appear. (You can get different results from compilation with different options or compiler versions, however, without any such bug, because of e.g. changes in when the compiler chose to contract an expression to use fused multiply-add.) -- Joseph S. Myers joseph@codesourcery.com