From patchwork Wed Sep 22 12:37:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 45285 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6F64C385843D for ; Wed, 22 Sep 2021 12:37:52 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id F01043858403 for ; Wed, 22 Sep 2021 12:37:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F01043858403 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: Ftng++lHwRCZkCOHr9brrDnDL1tBvQzaiByMrNcm4ZQyE+cU6NGrGXsDPrq/f6A5E0XEF+OD5K hmmOXsgnanI2/5aSnCwyIbzYX6MJh3i6G3Np+UsebMEV1p/bV3nBREkheD+QKPiCXqvME72uai 9fZh80qoa4K29iY0TPGeqWE5DlbF4rIb98g/KkW46WN6s+Ng/j6RCIrgNs7dtjWd/vkKxVN28R lanOUPQsCt5ap6dRnW6yRCE17ERx/lx77kBcDceu2qfffClYRzvvDZw2HEyIzMh1unYmYUxbVx 0fCRcrihB+5DG5rXfAmTc1eI X-IronPort-AV: E=Sophos;i="5.85,313,1624348800"; d="scan'208";a="66158975" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 22 Sep 2021 04:37:19 -0800 IronPort-SDR: u5HXknBmkDt5jjTniWcR874pepyfYg6EjoUO1sLw+uBre4ZOJhZy+1/WpNhAmoJY2kvQ0WVmLy n0ws9ILUBBcjCiRfikdDPUfNlpTPeIweYLQsIIiDSFO0w1c5gx1T3CQqviU+W0vM2cIBAjtJPd HimEhi34CBOzlLhg1PLAwK9HZ/3P8fxYbJM1+WIOhOXnvXyjyLBrtkUJAYPL7Ae8Dw0Am36hoX HRJh+/r5OEVniNyJ7F7TAPJ94pGJnYai1ud2Xsam0NAHGKZzi1fZzaqAm3ZVUOJLOWoZpPVHg7 eko= Date: Wed, 22 Sep 2021 12:37:15 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Subject: Adjust new narrowing div/mul tests for IBM long double, update powerpc ULPs [committed] Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-08.mgc.mentorg.com (139.181.222.8) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3124.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Testing for powerpc shows some of the new narrowing div/mul tests need XFAILing for IBM long double and some ULPs updates are needed for those tests. --- Committed. Diffs to generated files omitted from posted patch. diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 119e2ecb2a..0992344f7f 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -4876,14 +4876,14 @@ div 0x1p-126 0x1.0000001p0 div 0x1p-126 -0x1.0000001p0 div -0x1p-126 0x1.0000001p0 div -0x1p-126 -0x1.0000001p0 -div 0x1p-1022 0x1.00000000000001p0 -div 0x1p-1022 -0x1.00000000000001p0 -div -0x1p-1022 0x1.00000000000001p0 -div -0x1p-1022 -0x1.00000000000001p0 -div 0x1p-16382 0x1.00000000000000001p0 -div 0x1p-16382 -0x1.00000000000000001p0 -div -0x1p-16382 0x1.00000000000000001p0 -div -0x1p-16382 -0x1.00000000000000001p0 +div 0x1p-1022 0x1.00000000000001p0 missing-underflow:arg-ibm128 +div 0x1p-1022 -0x1.00000000000001p0 missing-underflow:arg-ibm128 +div -0x1p-1022 0x1.00000000000001p0 missing-underflow:arg-ibm128 +div -0x1p-1022 -0x1.00000000000001p0 missing-underflow:arg-ibm128 +div 0x1p-16382 0x1.00000000000000001p0 missing-underflow:arg-ibm128 xfail-rounding:ibm128-libgcc +div 0x1p-16382 -0x1.00000000000000001p0 missing-underflow:arg-ibm128 xfail-rounding:ibm128-libgcc +div -0x1p-16382 0x1.00000000000000001p0 missing-underflow:arg-ibm128 xfail-rounding:ibm128-libgcc +div -0x1p-16382 -0x1.00000000000000001p0 missing-underflow:arg-ibm128 xfail-rounding:ibm128-libgcc erf 0 erf -0 @@ -6666,14 +6666,14 @@ mul 0x0.ffffff8p-126 0x1.0000001p0 mul 0x0.ffffff8p-126 -0x1.0000001p0 mul -0x0.ffffff8p-126 0x1.0000001p0 mul -0x0.ffffff8p-126 -0x1.0000001p0 -mul 0x0.fffffffffffffcp-1022 0x1.00000000000001p0 -mul 0x0.fffffffffffffcp-1022 -0x1.00000000000001p0 -mul -0x0.fffffffffffffcp-1022 0x1.00000000000001p0 -mul -0x0.fffffffffffffcp-1022 -0x1.00000000000001p0 -mul 0x0.ffffffffffffffff8p-16382 0x1.00000000000000001p0 -mul 0x0.ffffffffffffffff8p-16382 -0x1.00000000000000001p0 -mul -0x0.ffffffffffffffff8p-16382 0x1.00000000000000001p0 -mul -0x0.ffffffffffffffff8p-16382 -0x1.00000000000000001p0 +mul 0x0.fffffffffffffcp-1022 0x1.00000000000001p0 missing-underflow:arg-ibm128 +mul 0x0.fffffffffffffcp-1022 -0x1.00000000000001p0 missing-underflow:arg-ibm128 +mul -0x0.fffffffffffffcp-1022 0x1.00000000000001p0 missing-underflow:arg-ibm128 +mul -0x0.fffffffffffffcp-1022 -0x1.00000000000001p0 missing-underflow:arg-ibm128 +mul 0x0.ffffffffffffffff8p-16382 0x1.00000000000000001p0 missing-underflow:arg-ibm128 +mul 0x0.ffffffffffffffff8p-16382 -0x1.00000000000000001p0 missing-underflow:arg-ibm128 +mul -0x0.ffffffffffffffff8p-16382 0x1.00000000000000001p0 missing-underflow:arg-ibm128 +mul -0x0.ffffffffffffffff8p-16382 -0x1.00000000000000001p0 missing-underflow:arg-ibm128 pow 0 0 pow 0 -0 diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps index a605aebfc5..fda4ca4106 100644 --- a/sysdeps/powerpc/fpu/libm-test-ulps +++ b/sysdeps/powerpc/fpu/libm-test-ulps @@ -1103,6 +1103,9 @@ ldouble: 10 Function: "div_ldouble": float: 1 +Function: "div_towardzero_ldouble": +double: 1 + Function: "erf": double: 1 float: 1