re PR testsuite/46230 (several vectorization tests FAIL or XPASS on SPARC)

PR testsuite/46230
	* gcc.dg/vect/vect-peel-1.c (main): Prevent initialization loop from
	being vectorized.  Adjust dg-final pattern.  Remove XFAIL.
	* gcc.dg/vect/vect-peel-2.c (main): Likewise.
	* gcc.dg/vect/vect-peel-4.c (main): Prevent initialization loop from
	being vectorized.  Adjust dg-final pattern.

From-SVN: r168628
This commit is contained in:
Eric Botcazou 2011-01-10 12:41:40 +00:00 committed by Eric Botcazou
parent af08e73446
commit 81d8de64f3
4 changed files with 25 additions and 11 deletions

View File

@ -1,5 +1,12 @@
2011-01-10 Eric Botcazou <ebotcazou@adacore.com>
PR testsuite/46230
* gcc.dg/vect/vect-peel-1.c (main): Prevent initialization loop from
being vectorized. Adjust dg-final pattern. Remove XFAIL.
* gcc.dg/vect/vect-peel-2.c (main): Likewise.
* gcc.dg/vect/vect-peel-4.c (main): Prevent initialization loop from
being vectorized. Adjust dg-final pattern.
PR testsuite/46230
* gcc.dg/vect/pr33804.c: XFAIL only for ilp32.
* gcc.dg/vect/slp-24.c: Likewise.

View File

@ -40,13 +40,15 @@ int main (void)
check_vect ();
for (i = 0; i <= N+6; i++)
ib[i] = i;
{
asm volatile ("" : "+r" (i));
ib[i] = i;
}
return main1 ();
}
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { target vect_element_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail { vect_no_align || vect_element_align } } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { target vect_element_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */

View File

@ -41,13 +41,15 @@ int main (void)
check_vect ();
for (i = 0; i <= N+6; i++)
ib[i] = i;
{
asm volatile ("" : "+r" (i));
ib[i] = i;
}
return main1 ();
}
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { target vect_element_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail { vect_no_align || vect_element_align } } } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { target vect_element_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { target vect_element_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */

View File

@ -36,12 +36,15 @@ int main (void)
check_vect ();
for (i = 0; i <= N+6; i++)
ib[i] = i;
{
asm volatile ("" : "+r" (i));
ib[i] = i;
}
return main1 ();
}
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */