]> git.ipfire.org Git - people/ms/gcc.git/commitdiff
testsuite: Fix unroll-and-jam.c on IBM Z
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Fri, 16 Apr 2021 05:48:34 +0000 (07:48 +0200)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Fri, 16 Apr 2021 05:48:34 +0000 (07:48 +0200)
For z10 and newer inner loops are completely unrolled which leaves no
inner loops to jam which renders this testcase to fail.  Reverting
max-completely-peel-times to the default value fixes this testcase.

gcc/testsuite/ChangeLog:

* gcc.dg/unroll-and-jam.c: Revert max-completely-peel-times to
the default value on IBM Z.

gcc/testsuite/gcc.dg/unroll-and-jam.c

index 7eb64217a05076a7fb2f85cf195272b3979897b8..b8f4f16dc74946163bf1586f65e7c045a3a12edc 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-O3 -floop-unroll-and-jam -fno-tree-loop-im --param unroll-jam-min-percent=0 -fdump-tree-unrolljam-details" } */
+/* { dg-additional-options "--param max-completely-peel-times=16" { target { s390*-*-* } } } */
 /* { dg-require-effective-target int32plus } */
 
 #include <stdio.h>