diff mbox

[Committed] S/390: var-expand1 use default values for peel/unroll limits

Message ID 20150305095642.GA16806@maggie
State New
Headers show

Commit Message

Andreas Krebbel March 5, 2015, 9:56 a.m. UTC
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 mbox

Patch

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);