This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [080/nnn] poly_int: tree-vect-generic.c
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Tue, 5 Dec 2017 10:48:02 -0700
- Subject: Re: [080/nnn] poly_int: tree-vect-generic.c
- Authentication-results: sourceware.org; auth=none
- References: <871sltvm7r.fsf@linaro.org> <87a80hhis9.fsf@linaro.org>
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