[067/nnn] poly_int: get_mask_mode

Jeff Law law@redhat.com
Tue Nov 28 16:48:00 GMT 2017


On 10/23/2017 11:27 AM, Richard Sandiford wrote:
> This patch makes TARGET_GET_MASK_MODE take polynomial nunits and
> vector_size arguments.  The gcc_assert in default_get_mask_mode
> is now handled by the exact_div call in vector_element_size.
> 
> 
> 2017-10-23  Richard Sandiford  <richard.sandiford@linaro.org>
> 	    Alan Hayward  <alan.hayward@arm.com>
> 	    David Sherwood  <david.sherwood@arm.com>
> 
> gcc/
> 	* target.def (get_mask_mode): Take the number of units and length
> 	as poly_uint64s rather than unsigned ints.
> 	* targhooks.h (default_get_mask_mode): Update accordingly.
> 	* targhooks.c (default_get_mask_mode): Likewise.
> 	* config/i386/i386.c (ix86_get_mask_mode): Likewise.
> 	* doc/tm.texi: Regenerate.
>
OK.
jeff



More information about the Gcc-patches mailing list