mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 22:11:30 +08:00
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:
parent
af08e73446
commit
81d8de64f3
@ -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.
|
||||
|
@ -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" } } */
|
||||
|
@ -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" } } */
|
||||
|
@ -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" } } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user