From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4068 invoked by alias); 19 Nov 2012 09:58:58 -0000 Received: (qmail 4060 invoked by uid 22791); 19 Nov 2012 09:58:57 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com) (209.85.212.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Nov 2012 09:58:51 +0000 Received: by mail-wi0-f171.google.com with SMTP id c10so4540040wiw.12 for ; Mon, 19 Nov 2012 01:58:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.214.92 with SMTP id b70mr4727237wep.86.1353319130358; Mon, 19 Nov 2012 01:58:50 -0800 (PST) Received: by 10.217.64.194 with HTTP; Mon, 19 Nov 2012 01:58:50 -0800 (PST) In-Reply-To: References: Date: Mon, 19 Nov 2012 09:58:00 -0000 Message-ID: Subject: Re: [PATCH] AArch64 optimized maths functions. From: Andrew Pinski To: Marcus Shawcroft Cc: libc-ports@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00061.txt.bz2 On Mon, Nov 19, 2012 at 1:51 AM, Marcus Shawcroft wrote: > Hi, > > This patch adds AArch64 optimized maths functions which were presented > in the orignal port but subsequently removed in order to get the core > of the port through the review process. > > Does anyone have comments on this patch? I really don't like inline-asm that much for intrinsics like these. Is any way to get these intrinsics as builtin functions in GCC and just use them here instead of the inline-asm? Thanks, Andrew Pinski > > > Thanks > /Marcus > > 2012-11-19 Marcus Shawcroft > > * sysdeps/aarch64/fpu/s_ceil.c: New file. > * sysdeps/aarch64/fpu/s_ceilf.c: New file. > * sysdeps/aarch64/fpu/s_floor.c: New file. > * sysdeps/aarch64/fpu/s_floorf.c: New file. > * sysdeps/aarch64/fpu/s_fma.c: New file. > * sysdeps/aarch64/fpu/s_fmaf.c: New file. > * sysdeps/aarch64/fpu/s_fmax.c: New file. > * sysdeps/aarch64/fpu/s_fmaxf.c: New file. > * sysdeps/aarch64/fpu/s_fmin.c: New file. > * sysdeps/aarch64/fpu/s_fminf.c: New file. > * sysdeps/aarch64/fpu/s_frint.x: New file. > * sysdeps/aarch64/fpu/s_frintf.x: New file. > * sysdeps/aarch64/fpu/s_llrint.c: New file. > * sysdeps/aarch64/fpu/s_llrintf.c: New file. > * sysdeps/aarch64/fpu/s_llround.c: New file. > * sysdeps/aarch64/fpu/s_llroundf.c: New file. > * sysdeps/aarch64/fpu/s_lrint.c: New file. > * sysdeps/aarch64/fpu/s_lrintf.c: New file. > * sysdeps/aarch64/fpu/s_lround.c: New file. > * sysdeps/aarch64/fpu/s_lroundf.c: New file. > * sysdeps/aarch64/fpu/s_nearbyint.c: New file. > * sysdeps/aarch64/fpu/s_nearbyintf.c: New file. > * sysdeps/aarch64/fpu/s_rint.c: New file. > * sysdeps/aarch64/fpu/s_rintf.c: New file. > * sysdeps/aarch64/fpu/s_round.c: New file. > * sysdeps/aarch64/fpu/s_roundf.c: New file. > * sysdeps/aarch64/fpu/s_trunc.c: New file. > * sysdeps/aarch64/fpu/s_truncf.c: New file.