Adjust gcc.dg/vect/pr100756.c for V8SI and V16SI
authorRichard Biener <rguenther@suse.de>
Fri, 28 Oct 2022 08:31:02 +0000 (10:31 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 28 Oct 2022 08:32:10 +0000 (10:32 +0200)
The following adjusts the testcase to require no epilogue also
for larger vectors than V4SI.

* gcc.dg/vect/pr100756.c: Adjust for larger vectors.

gcc/testsuite/gcc.dg/vect/pr100756.c

index c1362f2..7847f3e 100644 (file)
@@ -7,7 +7,7 @@ foo (int * restrict a, int n)
   int i, result = 0;
 
   a = __builtin_assume_aligned (a, __BIGGEST_ALIGNMENT__);
-  for (i = 0; i < n * 4; i++)
+  for (i = 0; i < n * 16; i++)
     result += a[i];
   return result;
 }