This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] AArch64 optimized maths functions.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]