testsuite: Fix pr83403-{1,2}.c on IBM Z
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Fri, 16 Apr 2021 14:03:07 +0000 (16:03 +0200)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Fri, 16 Apr 2021 14:03:07 +0000 (16:03 +0200)
For z10 and newer inner loops are completely unrolled which means store
motion is not applied.  Reverting max-completely-peeled-insns to the
default value fixes these testcases.

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/pr83403-1.c: Revert
max-completely-peeled-insns to the default value on IBM Z.
* gcc.dg/tree-ssa/pr83403-2.c: Likewise.

gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c
gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c

index 748375b..bfc703d 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -funroll-loops -fdump-tree-lim2-details" } */
+/* { dg-additional-options "--param max-completely-peeled-insns=200" { target { s390*-*-* } } } */
 
 #define TYPE unsigned int
 
index ca2e6bb..9130d9b 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -funroll-loops -fdump-tree-lim2-details" } */
+/* { dg-additional-options "--param max-completely-peeled-insns=200" { target { s390*-*-* } } } */
 
 #define TYPE int