This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed] S/390: var-expand1 use default values for peel/unroll limits
- From: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 5 Mar 2015 10:56:42 +0100
- Subject: [Committed] S/390: var-expand1 use default values for peel/unroll limits
- Authentication-results: sourceware.org; auth=none
Hi,
with -march=z10 we use much higher values for peel and unroll limits.
This makes the loop in the testcase to disappear on tree level
already. With the patch these values are set back to the default
values making the testcase to pass again.
Committed to mainline
Bye,
-Andreas-
2015-03-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc.dg/var-expand1.c: Force max-completely-peel-times and
max-unroll-times back to defaults for s390.
diff --git a/gcc/testsuite/gcc.dg/var-expand1.c b/gcc/testsuite/gcc.dg/var-expand1.c
index 7de4cfb..fb039d3 100644
--- a/gcc/testsuite/gcc.dg/var-expand1.c
+++ b/gcc/testsuite/gcc.dg/var-expand1.c
@@ -3,6 +3,7 @@
targets, where each addition is a library call. */
/* { dg-require-effective-target hard_float } */
/* { dg-options "-O2 -funroll-loops --fast-math -fvariable-expansion-in-unroller -fdump-rtl-loop2_unroll" } */
+/* { dg-additional-options "--param max-completely-peel-times=16 --param max-unroll-times=8" { target s390*-*-* } } */
extern void abort (void);