This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [AArch64] Make vabs<q>_f<32, 64> a tree/gimple intrinsic.


OK
/Marcus

On 25 April 2013 11:31, James Greenhalgh <james.greenhalgh@arm.com> wrote:
>
> Hi,
>
> This patch adds infrastructure for TARGET_FOLD_BUILTIN and uses it to
> fold the `abs` builtins to GIMPLE/GENERIC.
>
> Tested on aarch64-none-elf with no regressions.
>
> Thanks
> James
>
> ---
> gcc/
>
> 2013-04-22  James Greenhalgh  <james.greenhalgh@arm.com>
>
>         * config/aarch64/aarch64-builtins.c
>         (aarch64_fold_builtin): New.
>         * config/aarch64/aarch64-protos.h (aarch64_fold_builtin): New.
>         * config/aarch64/aarch64.c (TARGET_FOLD_BUILTIN): Define.
>         * config/aarch64/aarch64-simd-builtins.def (abs): New.
>         * config/aarch64/arm_neon.h
>         (vabs<q>_<f32, 64>): Implement using __builtin_aarch64_fabs.


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