On 11/08/2017 08:12 AM, Richard Sandiford wrote:
> So far we've used integer modes for LD[234] and ST[234] arrays.
> That doesn't scale well to SVE, since the sizes aren't fixed at
> compile time (and even if they were, we wouldn't want integers
> to be so wide).
> 
> This patch lets the target use double-, triple- and quadruple-length
> vectors instead.
> 
> 
> 2017-11-08  Richard Sandiford  <richard.sandif...@linaro.org>
>           Alan Hayward  <alan.hayw...@arm.com>
>           David Sherwood  <david.sherw...@arm.com>
> 
> gcc/
>       * target.def (array_mode): New target hook.
>       * doc/tm.texi.in (TARGET_ARRAY_MODE): New hook.
>       * doc/tm.texi: Regenerate.
>       * hooks.h (hook_optmode_mode_uhwi_none): Declare.
>       * hooks.c (hook_optmode_mode_uhwi_none): New function.
>       * tree-vect-data-refs.c (vect_lanes_optab_supported_p): Use
>       targetm.array_mode.
>       * stor-layout.c (mode_for_array): Likewise.  Support polynomial
>       type sizes.
> 
Whoops.  I'd started, but not completed review on this one a few days ago.

OK.  I think this covers the target independent bits from the series, right?

jeff

Reply via email to