From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.73.133]) by sourceware.org (Postfix) with ESMTPS id 18764385BF81 for ; 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 From: Vineet Gupta To: libc-alpha@sourceware.org Cc: linux-snps-arc@lists.infradead.org, Adhemerval Zanella , Vineet Gupta 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2020 02:00:56 -0000 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 -- 2.20.1