public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Pinski <pinskia@gmail.com>
To: Marcus Shawcroft <marcus.shawcroft@linaro.org>
Cc: libc-ports@sourceware.org
Subject: Re: [PATCH] AArch64 optimized maths functions.
Date: Mon, 19 Nov 2012 09:58:00 -0000	[thread overview]
Message-ID: <CA+=Sn1=k6ie3Zs_CZ+G_xZwCYihxPpaDX_whQcGTmTfmN4q33w@mail.gmail.com> (raw)
In-Reply-To: <CABXK9nf99Tj1J4kbQc-qEsTrtgW47Jp-MOu49NFnn6foN_aWag@mail.gmail.com>

On Mon, Nov 19, 2012 at 1:51 AM, Marcus Shawcroft
<marcus.shawcroft@linaro.org> 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  <marcus.shawcroft@linaro.org>
>
>         * 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.

  reply	other threads:[~2012-11-19  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19  9:51 Marcus Shawcroft
2012-11-19  9:58 ` Andrew Pinski [this message]
2012-11-19 12:51   ` Marcus Shawcroft
2012-11-19 17:31 ` Richard Henderson
2012-11-20 12:02   ` Marcus Shawcroft
2012-11-19 19:30 ` Andreas Jaeger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+=Sn1=k6ie3Zs_CZ+G_xZwCYihxPpaDX_whQcGTmTfmN4q33w@mail.gmail.com' \
    --to=pinskia@gmail.com \
    --cc=libc-ports@sourceware.org \
    --cc=marcus.shawcroft@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).