This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AARCH64] Fix support for vectorization over sqrt (), sqrtf ().
- 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
- Date: Tue, 8 Jan 2013 14:34:25 +0000
- Subject: Re: [AARCH64] Fix support for vectorization over sqrt (), sqrtf ().
- References: <1357653333-29428-1-git-send-email-james.greenhalgh@arm.com>
On 8 January 2013 13:55, James Greenhalgh <james.greenhalgh@arm.com> wrote:
>
> Hi,
>
> This patch fixes the support for vectorizing sqrt and sqrtf
> function calls on AArch64. While the standard name was implemented
> previously, the glue in aarch64_builtin_vectorized_function was not.
>
> We also fix the initialisation of vectors in the
> gcc.target/aarch64/vsqrt.c testcase such that they are more
> big-endian-safe.
>
> This patch regresses clean on aarch64-none-elf.
>
> Applying this patch gives:
>
> FAIL->PASS: gcc.dg/vect/no-math-errno-slp-32.c scan-tree-dump vect "pattern recognized"
> FAIL->PASS: gcc.dg/vect/no-math-errno-vect-pow-1.c scan-tree-dump vect "pattern recognized"
>
> Is this OK to commit?
OK /Marcus