[patch, testsuite] vect_no_align testsuite failures

Richard Guenther rguenther@suse.de
Thu Jun 4 08:41:00 GMT 2009


On Wed, 3 Jun 2009, Steve Ellcey wrote:

> 
> This patch fixes the gcc.dg/vect/vect-42.c and
> gcc.dg/vect/no-vfa-vect-43.c failures on IA64 (HP-UX and Linux).  They
> have been failing since r147851 when the compiler was changed to fix
> PR tree-optimization/36327 and these tests were modified.  I don't think
> the test modifications that were made took vect_no_align compilers into
> account.
> 
> Tested on IA64 HP-UX and Linux, this could also affect (hopefully for
> the better) other vect_no_align systems such as sparc, mipsisa64, and
> arm32.  I see these tests show up as failures for some arm results
> in gcc-testresults so this patch should fix those failures too.

Ok.

Thanks,
Richard.

> Steve Ellcey
> sje@cup.hp.com
> 
> 
> 2009-06-03  Steve Ellcey  <sje@cup.hp.com>
> 
> 	* gcc.dg/vect/vect-42.c: Modify vect_no_align case.
> 	* gcc.dg/vect/no-vfa-vect-43.c: Ditto.
> 
> 
> Index: gcc.dg/vect/vect-42.c
> ===================================================================
> --- gcc.dg/vect/vect-42.c	(revision 148110)
> +++ gcc.dg/vect/vect-42.c	(working copy)
> @@ -63,7 +63,7 @@ int main (void)
>  }
>  
>  /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
> -/*  { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 1 "vect" { target { vect_no_align || { ! vector_alignment_reachable } } } } } */
> +/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 3 "vect" { target { vect_no_align || { ! vector_alignment_reachable } } } } } */
>  /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 4 "vect" { xfail { vect_no_align || { ! vector_alignment_reachable } } } } } */
>  /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail {vect_no_align || { ! vector_alignment_reachable } } } } } */
>  /* { dg-final { cleanup-tree-dump "vect" } } */
> Index: gcc.dg/vect/no-vfa-vect-43.c
> ===================================================================
> --- gcc.dg/vect/no-vfa-vect-43.c	(revision 148110)
> +++ gcc.dg/vect/no-vfa-vect-43.c	(working copy)
> @@ -90,5 +90,5 @@ int main (void)
>  }
>  
>  /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 2 "vect" } } */
> -/*  { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 2 "vect" { target vect_no_align } } } */
> +/* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 6 "vect" { target vect_no_align } } } */
>  /* { dg-final { cleanup-tree-dump "vect" } } */
> 
> 

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex



More information about the Gcc-patches mailing list