On Fri, Oct 27, 2017 at 02:29:30PM +0100, Richard Sandiford wrote:
> This patch passes the number of units to aarch64_expand_vec_perm
> and aarch64_expand_vec_perm_const, which avoids a to_constant ()
> once GET_MODE_NUNITS is variable.

OK.

Reviewed-by: James Greenhalgh <james.greenha...@arm.com>

Thanks,
James

> 2017-10-27  Richard Sandiford  <richard.sandif...@linaro.org>
>           Alan Hayward  <alan.hayw...@arm.com>
>           David Sherwood  <david.sherw...@arm.com>
> 
> gcc/
>       * config/aarch64/aarch64-protos.h (aarch64_expand_vec_perm)
>       (aarch64_expand_vec_perm_const): Take the number of units too.
>       * config/aarch64/aarch64.c (aarch64_expand_vec_perm)
>       (aarch64_expand_vec_perm_const): Likewise.
>       * config/aarch64/aarch64-simd.md (vec_perm_const<mode>)
>       (vec_perm<mode>): Update accordingly.
> 

Reply via email to