From patchwork Thu Jul 30 23:11:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 1339153 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=sourceware.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=fm4Ek8ec; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (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 ozlabs.org (Postfix) with ESMTPS id 4BHmQ50hzdz9sTC for ; Fri, 31 Jul 2020 09:11:56 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3DA9E3857C58; Thu, 30 Jul 2020 23:11:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3DA9E3857C58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1596150713; bh=rMmm9Hl6vU42tvIJIoVBD71AweGPX9A4oyXhuvazxvg=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=fm4Ek8ecz44iHvFPmfgdrGdvMX2uAl3t7k7kbtdSvNIGRSr5noIJBFfrXG1QTjPZu H9GgIrh4A00lJ4bMf6/FxzsiVKzpk9gppAGnRx2DQ6NA6IYJcxTOTK2m9spNIVJfWn kYCMaP+wqc1moTxj/zuWwtkGDqUKbQOaI6//IxwI= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa6.hgst.iphmx.com (esa6.hgst.iphmx.com [216.71.154.45]) by sourceware.org (Postfix) with ESMTPS id 71BC53858D35 for ; Thu, 30 Jul 2020 23:11:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 71BC53858D35 IronPort-SDR: RO872APeCGo9CH1t41dsDe+ngI7w6CRC0NCAbP7dRVm/zvqZKtY+TqWHRVbkoTchlIJwZVv8dM ZZDtX2Q2F0nUlDIcvVhUcBySm8Sk2EwSmxc2NWX+pqacQLIEYbRRHEByKuweqSWoKtCwNHGzkB helP9jSZH91AKP8+l5/eEjxxLnNO1ml2Rh5l+R1MIyTwjq1GUSbanEraUq14yiiVkn/94o3BMQ gPheLOqMrVEYdYZZqWh/TSvMqXYx2NxIZ4e6x8cdcICIjoqS/iwLEkVLH6FFqS7kN1BxUy2KZM xL8= X-IronPort-AV: E=Sophos;i="5.75,415,1589212800"; d="scan'208";a="145043543" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 31 Jul 2020 07:11:39 +0800 IronPort-SDR: W1ewM8jzpJBtUuRMYIYSNvbfM3G14pMhTq2RRmad6QTMZ3hGHXDBR7e5WxbhIvdDXA8Q7oY7Fb amjWAbzTNft4vZ7Gm7s2xxkMiOnVVUmvs= Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2020 15:59:07 -0700 IronPort-SDR: VPrLTQrW1MuZTY9rq68j+zm7gqozSfGYD7ZwPxLeecIekcjkOFE6MTF97ERzU8UKotfMgrn3pv tMJoX1zS070A== WDCIronportException: Internal Received: from unknown (HELO redsun52) ([10.149.66.28]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2020 16:11:38 -0700 Date: Fri, 31 Jul 2020 00:11:32 +0100 (BST) To: Carlos O'Donell Subject: [PATCH] RISC-V: Update lp64d libm-test-ulps according to HiFive Unleashed In-Reply-To: <09d89412-2c59-43c1-680b-c4ffa12fecac@redhat.com> Message-ID: References: <6f6f811cb3453c1de41c8cb542aace23162f90a0.1594568655.git.alistair.francis@wdc.com> <09d89412-2c59-43c1-680b-c4ffa12fecac@redhat.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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-Patchwork-Original-From: "Maciej W. Rozycki via Libc-alpha" From: "Maciej W. Rozycki" Reply-To: "Maciej W. Rozycki" Cc: Alistair Francis , GNU C Library Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Produced with HiFive Unleashed hardware using Linux 5.8-rc5 exactly and GCC 10.0.1 20200426. Reviewed-by: Carlos O'Donell --- On Mon, 13 Jul 2020, Carlos O'Donell wrote: > > For the record here's my RV64 diff to the Unleashed. > > > > Maciej > > That's close enough that you should commit this blind to the > development branch that way developers don't get build failures. > > We do this routinely for i686 and older hardware being used Fedora Koji > builders. I've lost it from my radar due to other stuff. FAOD OK to apply then? Maciej --- sysdeps/riscv/rv64/rvd/libm-test-ulps | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) glibc-riscv-rv64-libm-test-ulps.diff Index: glibc/sysdeps/riscv/rv64/rvd/libm-test-ulps =================================================================== --- glibc.orig/sysdeps/riscv/rv64/rvd/libm-test-ulps +++ glibc/sysdeps/riscv/rv64/rvd/libm-test-ulps @@ -61,7 +61,7 @@ ldouble: 2 Function: "asinh": double: 1 -float: 1 +float: 2 ldouble: 3 Function: "asinh_downward": @@ -633,6 +633,7 @@ ldouble: 2 Function: "cos": double: 1 +float: 1 ldouble: 1 Function: "cos_downward": @@ -652,7 +653,7 @@ ldouble: 2 Function: "cosh": double: 1 -float: 1 +float: 2 ldouble: 1 Function: "cosh_downward": @@ -947,6 +948,7 @@ float: 4 ldouble: 5 Function: "exp": +float: 1 ldouble: 1 Function: "exp10": @@ -1055,7 +1057,7 @@ ldouble: 1 Function: "j0": double: 2 -float: 2 +float: 8 ldouble: 2 Function: "j0_downward": @@ -1064,23 +1066,23 @@ float: 4 ldouble: 4 Function: "j0_towardzero": -double: 2 -float: 1 +double: 5 +float: 6 ldouble: 2 Function: "j0_upward": -double: 3 -float: 2 +double: 4 +float: 5 ldouble: 5 Function: "j1": -double: 1 -float: 2 +double: 2 +float: 8 ldouble: 4 Function: "j1_downward": double: 3 -float: 2 +float: 5 ldouble: 4 Function: "j1_towardzero": @@ -1224,6 +1226,7 @@ ldouble: 2 Function: "sin": double: 1 +float: 1 ldouble: 1 Function: "sin_downward": @@ -1321,27 +1324,27 @@ ldouble: 3 Function: "tgamma": double: 5 -float: 4 +float: 8 ldouble: 4 Function: "tgamma_downward": double: 5 -float: 5 +float: 7 ldouble: 5 Function: "tgamma_towardzero": double: 5 -float: 4 +float: 7 ldouble: 5 Function: "tgamma_upward": double: 4 -float: 4 +float: 8 ldouble: 4 Function: "y0": double: 2 -float: 1 +float: 6 ldouble: 3 Function: "y0_downward":