This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64] Make vabs<q>_f<32, 64> a tree/gimple intrinsic.
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: James Greenhalgh <james dot greenhalgh at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- Date: Thu, 25 Apr 2013 12:57:46 +0100
- Subject: Re: [AArch64] Make vabs<q>_f<32, 64> a tree/gimple intrinsic.
- References: <1366885908-5613-1-git-send-email-james dot greenhalgh at arm dot com>
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.