[testsuite] Fix PR92464 by adjust test case loop bound

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
This commit is contained in:
Kewen Lin 2019-11-14 05:57:12 +00:00
parent 4e03c3a7c1
commit 9773f69c11
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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,

View file

@ -4,7 +4,9 @@
#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" -