This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64] implement FSQRT in RTL.
- From: Andrew Pinski <andrew dot pinski at caviumnetworks dot com>
- To: Sofiane Naci <sofiane dot naci at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 17 Aug 2012 10:17:19 -0700
- Subject: Re: [AArch64] implement FSQRT in RTL.
- References: <502e6264.a7e3440a.4807.41b8SMTPIN_ADDED@mx.google.com>
On Fri, Aug 17, 2012 at 8:26 AM, Sofiane Naci <sofiane.naci@arm.com> wrote:
> Hi,
>
> I've just committed the attached patch on the AArch64 branch to implement
> FSQRT in RTL.
Maybe add a testcase which tests that sqrt gets vectorized?
Thanks,
Andrew
>
> Thanks
> Sofiane
>
> -----
>
> r190485 | sofiane | 2012-08-17 16:22:28 +0100 (Fri, 17 Aug 2012) | 12 lines
>
> 2012-08-17 Tejas Belagod <tejas.belagod@arm.com>
>
> [AArch64] Implement FSQRT in RTL.
>
> * config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_data):
> Add sqrt to the list of intrinsic descriptors.
> * config/aarch64/aarch64-simd.md (sqrt<mode>2): Insn pattern for
> sqrt.
> (aarch64_sqrt<mode>): Builtin expansion.
> * config/aarch64/arm_neon.h: Remove asm implementations of
> vsqrt. Add builtin implementation of vsqrt.