Message ID | 20200530020047.5490-1-vgupta@synopsys.com |
---|---|
Headers |
Return-Path: <libc-alpha-bounces@sourceware.org> 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 B9705388B035; Sat, 30 May 2020 02:00:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9705388B035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1590804058; bh=RJcsI5clEzgdbTelmRCenTG3jfAC0DqYx64NNOM2nTY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=w58s1Qj+6jEZarAX1dRydK8v3NlCOyNYjkMWv6tqKfjAvLjOP33ZATeXImf4hov9X Ewmrm1534vpw9H+TeTwmvibFk5YC2DqcqkfRiACviPEwFOx6gtpPmmfh7jF1klluPB czfnQ9HGV2WGtsEi8EtfxXuPAIk8g3aciBkIlnPk= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.73.133]) by sourceware.org (Postfix) with ESMTPS id 18764385BF81 for <libc-alpha@sourceware.org>; Sat, 30 May 2020 02:00:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 18764385BF81 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 0E96240954; Sat, 30 May 2020 02:00:51 +0000 (UTC) Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.13.183.89]) by mailhost.synopsys.com (Postfix) with ESMTP id 826D7A006F; Sat, 30 May 2020 02:00:50 +0000 (UTC) X-SNPS-Relay: synopsys.com To: libc-alpha@sourceware.org Subject: [PATCH 0/5] use gcc builtins for sqrt and fma functions Date: Fri, 29 May 2020 19:00:42 -0700 Message-Id: <20200530020047.5490-1-vgupta@synopsys.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, 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 <libc-alpha.sourceware.org> List-Unsubscribe: <http://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <http://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Vineet Gupta via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Vineet Gupta <Vineet.Gupta1@synopsys.com> Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com>, linux-snps-arc@lists.infradead.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
use gcc builtins for sqrt and fma functions
|
|
Message
Vineet Gupta
May 30, 2020, 2 a.m. UTC
Hi, This was suggested as part of ARC port review. Build tested for following targets: aarch64-linux-gnu arm-linux-gnueabi hppa-linux-gnu x86_64-linux-gnu arm-linux-gnueabihf riscv64-linux-gnu-rv64imac-lp64 riscv64-linux-gnu-rv64imafdc-lp64 powerpc-linux-gnu microblaze-linux-gnu nios2-linux-gnu hppa-linux-gnu Thx, -Vineet Vineet Gupta (5): ARC/dl-runtime helper macros iee754: prvoide gcc builtins based generic sqrt functions iee754: prvoide gcc builtins based generic fma functions aarch/fpu: use generic sqrt, fma functions powerpc/fpu: use generic fma functions sysdeps/aarch64/fpu/e_sqrt.c | 27 -------- sysdeps/aarch64/fpu/e_sqrtf.c | 27 -------- sysdeps/aarch64/fpu/math-use-builtins.h | 70 +++++++++++++++++++++ sysdeps/aarch64/fpu/s_fma.c | 28 --------- sysdeps/aarch64/fpu/s_fmaf.c | 28 --------- sysdeps/arc/dl-runtime.h | 42 +++++++++++++ sysdeps/generic/math-use-builtins.h | 7 +++ sysdeps/ieee754/dbl-64/e_sqrt.c | 6 ++ sysdeps/ieee754/dbl-64/s_fma.c | 6 ++ sysdeps/ieee754/dbl-64/s_fmaf.c | 6 ++ sysdeps/ieee754/float128/float128_private.h | 2 + sysdeps/ieee754/flt-32/e_sqrtf.c | 6 ++ sysdeps/ieee754/ldbl-128/s_fmal.c | 5 ++ sysdeps/powerpc/fpu/math-use-builtins.h | 70 +++++++++++++++++++++ sysdeps/powerpc/fpu/s_fma.c | 27 -------- sysdeps/powerpc/fpu/s_fmaf.c | 27 -------- 16 files changed, 220 insertions(+), 164 deletions(-) delete mode 100644 sysdeps/aarch64/fpu/e_sqrt.c delete mode 100644 sysdeps/aarch64/fpu/e_sqrtf.c create mode 100644 sysdeps/aarch64/fpu/math-use-builtins.h delete mode 100644 sysdeps/aarch64/fpu/s_fma.c delete mode 100644 sysdeps/aarch64/fpu/s_fmaf.c create mode 100644 sysdeps/arc/dl-runtime.h create mode 100644 sysdeps/powerpc/fpu/math-use-builtins.h delete mode 100644 sysdeps/powerpc/fpu/s_fma.c delete mode 100644 sysdeps/powerpc/fpu/s_fmaf.c