On Fri, Aug 17, 2012 at 8:26 AM, Sofiane Naci <sofiane.n...@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.bela...@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.