This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [6/10] Add a vect_element_align_preferred target selector
- 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: Wed, 8 Nov 2017 15:28:53 -0700
- Subject: Re: [6/10] Add a vect_element_align_preferred target selector
- Authentication-results: sourceware.org; auth=none
- References: <87inerqqyz.fsf@linaro.org> <87r2tfpc5o.fsf@linaro.org>
On 11/03/2017 10:20 AM, Richard Sandiford wrote:
> This patch adds a target selector for targets whose
> preferred_vector_alignment is the alignment of one element. We'll never
> peel in that case, and the step of a loop that operates on normal (as
> opposed to packed) elements will always divide the preferred alignment.
>
>
> 2017-11-03 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * doc/sourcebuild.texi (vect_element_align_preferred): Document.
>
> gcc/testsuite/
> * lib/target-supports.exp
> (check_effective_target_vect_element_align_preferred): New proc.
> (check_effective_target_vect_peeling_profitable): Test it.
> * gcc.dg/vect/no-section-anchors-vect-31.c: Don't expect peeling
> if vect_element_align_preferred.
> * gcc.dg/vect/no-section-anchors-vect-64.c: Likewise.
> * gcc.dg/vect/pr65310.c: Likewise.
> * gcc.dg/vect/vect-26.c: Likewise.
> * gcc.dg/vect/vect-54.c: Likewise.
> * gcc.dg/vect/vect-56.c: Likewise.
> * gcc.dg/vect/vect-58.c: Likewise.
> * gcc.dg/vect/vect-60.c: Likewise.
> * gcc.dg/vect/vect-89-big-array.c: Likewise.
> * gcc.dg/vect/vect-89.c: Likewise.
> * gcc.dg/vect/vect-92.c: Likewise.
> * gcc.dg/vect/vect-peel-1.c: Likewise.
> * gcc.dg/vect/vect-outer-3a-big-array.c: Expect the step to
> divide the alignment if vect_element_align_preferred.
> * gcc.dg/vect/vect-outer-3a.c: Likewise.
OK.
jeff