From patchwork Fri Aug 9 13:21:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Kozlov X-Patchwork-Id: 1970942 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=pfptdkimsnps header.b=EIl/Lmg3; dkim=pass (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=K/y5ZPpJ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4WgPj25Wzlz1yYl for ; Fri, 9 Aug 2024 23:22:30 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9B192385C6D3 for ; Fri, 9 Aug 2024 13:22:28 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mx0b-00230701.pphosted.com (mx0b-00230701.pphosted.com [148.163.158.9]) by sourceware.org (Postfix) with ESMTPS id 61CAA385828B for ; Fri, 9 Aug 2024 13:22:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 61CAA385828B Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=synopsys.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=synopsys.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 61CAA385828B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.9 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723209732; cv=none; b=Ka6mWcMy+26PdcDHkkteo6id1qF+S/pbmjQdgNrviEmyIK9YF1LzCC6Gq8M8D3KV2UIjTs+wFvvxesypoUXaos2OOM+U3em/bJJd6YHOykPhJP2IQ0q2rXtgCog1d2LCrO2tV+prr792aeHEadqYZMWFEwyDVyJtkoxYo75XOyk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723209732; c=relaxed/simple; bh=/8QmqK5cqrAgdgw/COcYkzLlZn6Igcu4vVLWxql+qog=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=T9/8+n1bTh/uc5j9qvRSXxjrrj6ukgVRm1n+ssuwldePGixOfzD+9gr8yej8e1ddnY3LRNwvmIvR9DYv2bOdT6z4s+GnwW9/2pqbTgr5cPYIZbsIc649jIieSAMLGSUKb0MXHXCxh0nn6Slrbz8reIw3Jb96t1necI6B64I9dEc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0098572.ppops.net [127.0.0.1]) by mx0b-00230701.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 479C4YTU028231 for ; Fri, 9 Aug 2024 06:22:02 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=pfptdkimsnps; bh=xQ6826p07iQ7Rk22L+2I+oy2yApyfuVy mkhDDePARp4=; b=EIl/Lmg3u3lEVB7RvJUjCsru4+1zSv5CrXsd0GlOcLaEL/z7 ZgNq9V1OATezls0QogrekbPAIUPEZfCCHZyU4u68b/lDdbUIvm6vBAGbXqZoZIai WioZI0qVDS3BP0tq9n3nXEX9JGHdZtvcAwnZBgTR2IfmqHe/NdpABsZXDsj0dNy0 scu1YgOsh9ekQqJIPkFRDlB/RChHuRrW0r9pBzYK7S3xXOC4QF+jFW7HoIpWznPM 0LFYLE6OrJBYx0isbPwJFnNYvnKqrDrQJaULpuluxjn6R32vk5MByqk8XIaTuBGe ot1+wdEgPWXHFzb+9wsJfjv611yZoXQlviDR0w== Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.87.133]) by mx0b-00230701.pphosted.com (PPS) with ESMTPS id 40v99skwpj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 09 Aug 2024 06:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1723209721; bh=/8QmqK5cqrAgdgw/COcYkzLlZn6Igcu4vVLWxql+qog=; h=From:To:Cc:Subject:Date:From; b=K/y5ZPpJwOPcKqq+1rQjP/cIFZ6w2BYFKLjJ4EEk7GHEvDE9t0wOefd125CgAmoGJ XmOSi0KBz/Egv48WZ6u4sBE1SY6avQNwDRxuNgyzUZ8c0zpcEJKHIXmeScvr4pS5nQ tytfZlM2y7Gd9HGFr/TOLhb+ngrBk0kwjxVJrH4gRw9WJr0o+yTuhmB+nbUp7/Yh+a R6nTndUU4YhvMsxmghypUmAwoHJrkZoMZbLg+dqfgE/HDgzyUxyAsI3073RM6Y8eol U6AiAaerx4Yk8rVuIEhWidD6FXVBu4WUO64Z7fAyP4fi8Ialh9YN2H9rUUN+0Jp0bw mj3TlolsSxmqQ== Received: from mailhost.synopsys.com (sv2-mailhost2.synopsys.com [10.205.2.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) client-signature RSA-PSS (2048 bits)) (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id EE8A740348 for ; Fri, 9 Aug 2024 13:22:00 +0000 (UTC) Received: from SNPS-zbAKYaxSCb.internal.synopsys.com (snps-zbakyaxscb.internal.synopsys.com [10.107.18.85]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client did not present a certificate) by mailhost.synopsys.com (Postfix) with ESMTPSA id 90319A007B; Fri, 9 Aug 2024 13:21:59 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Pavel.Kozlov@synopsys.com To: libc-alpha@sourceware.org Cc: Pavel Kozlov Subject: [PATCH] ARC: Regenerate ULPs Date: Fri, 9 Aug 2024 14:21:31 +0100 Message-Id: <20240809132131.263695-1-kozlov@synopsys.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-GUID: v3cnH3DiP6s0fy5JgSaq5wtwGrckZowQ X-Proofpoint-ORIG-GUID: v3cnH3DiP6s0fy5JgSaq5wtwGrckZowQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-09_10,2024-08-07_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_active_cloned_notspam policy=outbound_active_cloned score=0 malwarescore=0 suspectscore=0 spamscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=786 impostorscore=0 bulkscore=0 adultscore=0 phishscore=0 lowpriorityscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408090097 X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, TXREP, T_SPF_TEMPERROR 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 From: Pavel Kozlov Regenerate fpu and soft-fp ULPs. Based on results from HSDK-4xD board with GCC 14 build. Including new tests added by 07972839108495245d8b93ca546462b3f4dad47f. --- sysdeps/arc/fpu/libm-test-ulps | 64 ++++++++++++++++++++++++++++++++ sysdeps/arc/nofpu/libm-test-ulps | 17 +++++++++ 2 files changed, 81 insertions(+) diff --git a/sysdeps/arc/fpu/libm-test-ulps b/sysdeps/arc/fpu/libm-test-ulps index 41c8ef16d782..7e2c2dff13e5 100644 --- a/sysdeps/arc/fpu/libm-test-ulps +++ b/sysdeps/arc/fpu/libm-test-ulps @@ -787,6 +787,22 @@ Function: "exp10_upward": double: 4 float: 1 +Function: "exp10m1": +double: 4 +float: 2 + +Function: "exp10m1_downward": +double: 3 +float: 3 + +Function: "exp10m1_towardzero": +double: 2 +float: 3 + +Function: "exp10m1_upward": +double: 5 +float: 3 + Function: "exp2": double: 1 float: 1 @@ -801,6 +817,22 @@ Function: "exp2_upward": double: 2 float: 1 +Function: "exp2m1": +double: 2 +float: 2 + +Function: "exp2m1_downward": +double: 3 +float: 3 + +Function: "exp2m1_towardzero": +double: 3 +float: 2 + +Function: "exp2m1_upward": +double: 3 +float: 3 + Function: "exp_downward": double: 1 float: 1 @@ -943,6 +975,22 @@ Function: "log10_upward": double: 3 float: 4 +Function: "log10p1": +double: 2 +float: 2 + +Function: "log10p1_downward": +double: 2 +float: 3 + +Function: "log10p1_towardzero": +double: 3 +float: 2 + +Function: "log10p1_upward": +double: 2 +float: 3 + Function: "log1p": double: 1 float: 1 @@ -971,6 +1019,22 @@ Function: "log2_upward": double: 1 float: 1 +Function: "log2p1": +double: 2 +float: 2 + +Function: "log2p1_downward": +double: 2 +float: 2 + +Function: "log2p1_towardzero": +double: 2 +float: 2 + +Function: "log2p1_upward": +double: 2 +float: 2 + Function: "log_towardzero": double: 1 float: 1 diff --git a/sysdeps/arc/nofpu/libm-test-ulps b/sysdeps/arc/nofpu/libm-test-ulps index d3f45957d42c..d9d6c76c3ed1 100644 --- a/sysdeps/arc/nofpu/libm-test-ulps +++ b/sysdeps/arc/nofpu/libm-test-ulps @@ -192,9 +192,17 @@ Function: "exp10": double: 2 float: 1 +Function: "exp10m1": +double: 3 +float: 2 + Function: "exp2": double: 1 +Function: "exp2m1": +double: 2 +float: 2 + Function: "expm1": double: 1 float: 1 @@ -205,6 +213,7 @@ float: 7 Function: "hypot": double: 1 +float: 1 Function: "j0": double: 2 @@ -226,6 +235,10 @@ Function: "log10": double: 2 float: 2 +Function: "log10p1": +double: 1 +float: 2 + Function: "log1p": double: 1 float: 1 @@ -234,6 +247,10 @@ Function: "log2": double: 2 float: 1 +Function: "log2p1": +double: 1 +float: 2 + Function: "logp1": double: 1 float: 1