From patchwork Fri Jun 19 23:50:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1313431 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20170209 header.b=AJWT+aWA; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=ZChklXSd; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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 49pbDF57zcz9sRW for ; Sat, 20 Jun 2020 09:51:09 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=wcyLQMAyV/fT8Qsp6QkX/wjtTkkCexpyw6I/gql1368=; b=AJWT+aWAyOYONy RQpzvwQuHp+FHiaVDeLOao+qAP4UsqjgCXvOTUkNYzn9N4Nh8z9Yc81480CUcNBscWbi9JFe2chY4 1Xl2anKqkoRhHZK+HTaey+SiIIbx1O/Tg1oYr4fABUIEmrKKwUyodxkEVG5u5elBB4TwUsG75VKoU oPzDus664C0J2wSXhdhvneCfaY/aWKuopPtoS88s2XzZTLiJYryCzNolvbEYxtnINYGtZCvv1rruZ 0HwMZWbGBbhqEkmvZwAQJSGm8Pk0eYafTUm8pgtpXRwelnHagH6tUrdlvDkeOQc1nYgt3VsfYxBYE hF+Q6G3+RMPAzSYWZRyQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmQmq-0008Q9-9h; Fri, 19 Jun 2020 23:51:08 +0000 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmQmo-0008Pj-Bn for linux-snps-arc@lists.infradead.org; Fri, 19 Jun 2020 23:51:07 +0000 Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id DA15F4017E; Fri, 19 Jun 2020 23:51:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1592610665; bh=g4MiKF86Ohe4mqRLH8U2SfvnZwgeK/SSrpBlJ98z2mc=; h=From:To:Cc:Subject:Date:From; b=ZChklXSd7plwy2cV4ThCrhhZiPkQbkTYgSqY3KDDqNbteNH00lWu9CtM5X05r93VL n7OyiDq1w1MY9elo3D4DJ1EyE86CCv+EGZ3mWv/HhwX7MTpI7H8I5x6SmKrNrgNdOY aSHicupzMAwGtjUKm9+UMTbt2UJLvrU9K8m5OHiXU1CNMkFngLbxJsrFhgMuOEW1Sk rD4hWJW7UOKkCDv0rik9YfOvixqCcC4+YmGybwewRRcb23W3wD63tSrr03T02p2B5r zL79qgfz0venio2DOH4CMwdum8AF99Yjf5CUq+P8E4Gkw7wl/gnZYZDZcuwsCqZChm fL9FtXCj1VMfA== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.13.183.89]) by mailhost.synopsys.com (Postfix) with ESMTP id 99E5BA0248; Fri, 19 Jun 2020 23:51:05 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: numpy-discussion@python.org Subject: [PATCH] Revert "FIX: no FPU exceptions bits on ARC glibc" Date: Fri, 19 Jun 2020 16:50:59 -0700 Message-Id: <20200619235059.13001-1-Vineet.Gupta1@synopsys.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200619_165106_408971_7DAC120B X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [149.117.73.133 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vineet Gupta , linux-snps-arc@lists.infradead.org Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org ARC glibc has supported fenv.h for quite some time, for either soft and hard so this workaround is no longer needed. This reverts commit 1125f1ee33324bc91b4e8dd9da49163af572d04a. Signed-off-by: Vineet Gupta --- numpy/core/src/npymath/ieee754.c.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numpy/core/src/npymath/ieee754.c.src b/numpy/core/src/npymath/ieee754.c.src index 3f66b24a4c84..f3f15f84152b 100644 --- a/numpy/core/src/npymath/ieee754.c.src +++ b/numpy/core/src/npymath/ieee754.c.src @@ -682,7 +682,7 @@ void npy_set_floatstatus_invalid(void) } #elif defined(_MSC_VER) || (defined(__osf__) && defined(__alpha)) || \ - defined (__UCLIBC__) || (defined(__arc__) && defined(__GLIBC__)) + defined (__UCLIBC__) /* * By using a volatile floating point value,