summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/vect-74.c
diff options
context:
space:
mode:
authordorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 07:40:41 +0000
committerdorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 07:40:41 +0000
commit7393ff3867abf5c623a95bc0a052630102ff004e (patch)
tree64b1297a327d078a5a8d9912d6d1e01fbf7a059d /gcc/testsuite/gcc.dg/vect/vect-74.c
parent86aca44534df0ca0dfc5cd98b45adafb9959a2e0 (diff)
downloadgcc-7393ff3867abf5c623a95bc0a052630102ff004e.tar.gz
* gcc.dg/vect/pr16105.c: Replace "aligned types" with regular types.
No longer vectorizable on vect_no_align targets. * gcc.dg/vect/pr20122.c: Likewise. * gcc.dg/vect/vect-74.c: Likewise. * gcc.dg/vect/vect-75.c: Likewise. * gcc.dg/vect/vect-76.c: Likewise. * gcc.dg/vect/vect-37.c: Replace "aligned types" with regular types. Will not be vectorizable on vect_no_align targets once aliasing issues are resolved. * gcc.dg/vect/vect-79.c: Likewise. * gcc.dg/vect/vect-77.c: Replace "aligned types" with regular types. * gcc.dg/vect/vect-78.c: Likewise. * gcc.dg/vect/vect-97.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104445 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/vect-74.c')
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-74.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-74.c b/gcc/testsuite/gcc.dg/vect/vect-74.c
index d4593cbb891..5dbd3120d69 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-74.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-74.c
@@ -5,8 +5,6 @@
#define N 16
-typedef float afloat __attribute__ ((__aligned__(16)));
-
/* Check handling of accesses for which the "initial condition" -
the expression that represents the first location accessed - is
more involved than just an ssa_name. */
@@ -16,10 +14,10 @@ float b[N+4] __attribute__ ((__aligned__(16))) = {0.0, 1.0, 2.0, 3.0, 4.0, 5.0,
float c[N] __attribute__ ((__aligned__(16))) = {0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 7.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5};
int
-main1 (afloat *__restrict__ pa, afloat * __restrict__ pb, afloat * __restrict__ pc)
+main1 (float *__restrict__ pa, float * __restrict__ pb, float * __restrict__ pc)
{
int i;
- afloat *q = pb + 4;
+ float *q = pb + 4;
for (i = 0; i < N; i++)
{
@@ -44,6 +42,7 @@ int main (void)
return 0;
}
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
-/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */