From patchwork Wed Jun 19 12:11:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julian Zhu X-Patchwork-Id: 1949663 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W42Xh2x7nz20Wb for ; Wed, 19 Jun 2024 22:11:32 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AB4C63885C21 for ; Wed, 19 Jun 2024 12:11:30 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from nisdydeair.tail4cdaa.ts.net (unknown [IPv6:2605:52c0:2:e9a:307b:dbff:fe9d:66cf]) by sourceware.org (Postfix) with ESMTP id DF4AC3884546 for ; Wed, 19 Jun 2024 12:11:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DF4AC3884546 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=nisdydeair.tail4cdaa.ts.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DF4AC3884546 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2605:52c0:2:e9a:307b:dbff:fe9d:66cf ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718799077; cv=none; b=FF4qoFC8uJWkp9TEnhi53RujDVTdMP4dZ1gVDQJHFsqoohkP05dqpktoG1xPNmHIR8dm7kM4/gzfVB0vvegbE+RMjnOw4Oj9xohzuL4f5jQ/xk++a2N/89cFfbuL/RYYVb0LZp2Ovm2GKOJcvxYmt6Cpd7f0wT7yWd+RfHDloaE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718799077; c=relaxed/simple; bh=9CLgXKpzlqq7hvRvVdYQ8zgdNpWN/KUUn7vYRLbebw4=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=IFaVLfZ0P/UkACZo2zwzyJFY7xrraMht0NiXanLQpHgFUN+YCNl4JmfepHKUoJzCzsB4N61S685kEdvHAtMoq4YMB0f63P7QlrGTZx//d7/B0AHCLBu1cQuCbMoXmCgD5RXaaR4bjJKPQa1SXLkPqQ5RJo4sTNEGNQk2gOjqpFQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by nisdydeair.tail4cdaa.ts.net (Postfix, from userid 501) id 9159F27481BA; Wed, 19 Jun 2024 20:11:13 +0800 (CST) From: Julian Zhu To: libc-alpha@sourceware.org Cc: Julian Zhu Subject: [PATCH] MIPS: Update ulps Date: Wed, 19 Jun 2024 20:11:01 +0800 Message-ID: <20240619121100.43375-2-jz531210@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KHOP_HELO_FCRDNS, NML_ADSP_CUSTOM_MED, NO_DNS_FOR_FROM, SPF_HELO_NONE, SPF_NONE, SPOOFED_FREEMAIL, SPOOF_GMAIL_MID, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Update mips32/mips64 ulps for the exp10m1, exp2m1, and log10p1 implementations. Signed-off-by: Julian Zhu --- sysdeps/mips/mips32/libm-test-ulps | 48 ++++++++++++++++++++++++ sysdeps/mips/mips64/libm-test-ulps | 60 ++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/sysdeps/mips/mips32/libm-test-ulps b/sysdeps/mips/mips32/libm-test-ulps index 21818a1d76..1c27b6615b 100644 --- a/sysdeps/mips/mips32/libm-test-ulps +++ b/sysdeps/mips/mips32/libm-test-ulps @@ -777,6 +777,22 @@ Function: "exp10_upward": double: 2 float: 1 +Function: "exp10m1": +double: 2 +float: 1 + +Function: "exp10m1_downward": +double: 1 +float: 1 + +Function: "exp10m1_towardzero": +double: 1 +float: 1 + +Function: "exp10m1_upward": +double: 3 +float: 1 + Function: "exp2": double: 1 float: 1 @@ -793,6 +809,22 @@ Function: "exp2_upward": double: 1 float: 1 +Function: "exp2m1": +double: 1 +float: 1 + +Function: "exp2m1_downward": +double: 2 +float: 1 + +Function: "exp2m1_towardzero": +double: 2 +float: 1 + +Function: "exp2m1_upward": +double: 1 +float: 1 + Function: "exp_downward": double: 1 float: 1 @@ -933,6 +965,22 @@ Function: "log10_upward": double: 2 float: 2 +Function: "log10p1": +double: 1 +float: 1 + +Function: "log10p1_downward": +double: 2 +float: 1 + +Function: "log10p1_towardzero": +double: 2 +float: 2 + +Function: "log10p1_upward": +double: 2 +float: 1 + Function: "log1p": double: 1 float: 1 diff --git a/sysdeps/mips/mips64/libm-test-ulps b/sysdeps/mips/mips64/libm-test-ulps index bf3dd3f15c..902551b448 100644 --- a/sysdeps/mips/mips64/libm-test-ulps +++ b/sysdeps/mips/mips64/libm-test-ulps @@ -976,6 +976,26 @@ double: 2 float: 1 ldouble: 3 +Function: "exp10m1": +double: 2 +float: 1 +ldouble: 1 + +Function: "exp10m1_downward": +double: 1 +float: 1 +ldouble: 3 + +Function: "exp10m1_towardzero": +double: 1 +float: 1 +ldouble: 3 + +Function: "exp10m1_upward": +double: 3 +float: 1 +ldouble: 3 + Function: "exp2": double: 1 float: 1 @@ -996,6 +1016,26 @@ double: 1 float: 1 ldouble: 2 +Function: "exp2m1": +double: 1 +float: 1 +ldouble: 1 + +Function: "exp2m1_downward": +double: 2 +float: 1 +ldouble: 2 + +Function: "exp2m1_towardzero": +double: 2 +float: 1 +ldouble: 2 + +Function: "exp2m1_upward": +double: 1 +float: 1 +ldouble: 2 + Function: "exp_downward": double: 1 float: 1 @@ -1170,6 +1210,26 @@ double: 2 float: 2 ldouble: 1 +Function: "log10p1": +double: 1 +float: 1 +ldouble: 3 + +Function: "log10p1_downward": +double: 2 +float: 1 +ldouble: 2 + +Function: "log10p1_towardzero": +double: 2 +float: 2 +ldouble: 2 + +Function: "log10p1_upward": +double: 2 +float: 1 +ldouble: 3 + Function: "log1p": double: 1 float: 1