This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [080/nnn] poly_int: tree-vect-generic.c


On 10/23/2017 11:32 AM, Richard Sandiford wrote:
> This patch makes tree-vect-generic.c cope with variable-length vectors.
> Decomposition is only supported for constant-length vectors, since we
> should never generate unsupported variable-length operations.
> 
> 
> 2017-10-23  Richard Sandiford  <richard.sandiford@linaro.org>
> 	    Alan Hayward  <alan.hayward@arm.com>
> 	    David Sherwood  <david.sherwood@arm.com>
> 
> gcc/
> 	* tree-vect-generic.c (nunits_for_known_piecewise_op): New function.
> 	(expand_vector_piecewise): Use it instead of TYPE_VECTOR_SUBPARTS.
> 	(expand_vector_addition, add_rshift, expand_vector_divmod): Likewise.
> 	(expand_vector_condition, vector_element): Likewise.
> 	(subparts_gt): New function.
> 	(get_compute_type): Use subparts_gt.
> 	(count_type_subparts): Delete.
> 	(expand_vector_operations_1): Use subparts_gt instead of
> 	count_type_subparts.
OK.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]