Commit 9773f69c by Kewen Lin

[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
parent 4e03c3a7
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> 2019-11-14 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/c2x-attr-fallthrough-1.c, gcc.dg/c2x-attr-syntax-1.c, * gcc.dg/c2x-attr-fallthrough-1.c, gcc.dg/c2x-attr-syntax-1.c,
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
#include <stdarg.h> #include <stdarg.h>
#include "../../tree-vect.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 #define OFF 4
/* Check handling of accesses for which the "initial condition" - /* Check handling of accesses for which the "initial condition" -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment