The recent vectorization cost adjustment on load leads
the profitable min iteration count to change from 19 to 12.
The case happens to hit the threshold. This patch is to
adjust the loop bound from 16 to 14.
gcc/testsuite/ChangeLog
2019-11-14 Kewen Lin <linkw@gcc.gnu.org>
PR target/92464
* gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c: Adjust
loop bound due to load cost adjustment.
From-SVN: r278195
+2019-11-14 Kewen Lin <linkw@gcc.gnu.org>
+
+ PR target/92464
+ * gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c: Adjust loop
+ bound due to load cost adjustment.
+
2019-11-14 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/c2x-attr-fallthrough-1.c, gcc.dg/c2x-attr-syntax-1.c,
#include <stdarg.h>
#include "../../tree-vect.h"
-#define N 16
+/* On Power7 without misalign vector support, this case is to check it's not
+ profitable to perform vectorization by peeling to align the store. */
+#define N 14
#define OFF 4
/* Check handling of accesses for which the "initial condition" -