public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Committed] S/390: var-expand1 use default values for peel/unroll limits
@ 2015-03-05  9:56 Andreas Krebbel
  0 siblings, 0 replies; only message in thread
From: Andreas Krebbel @ 2015-03-05  9:56 UTC (permalink / raw)
  To: gcc-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-05  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-05  9:56 [Committed] S/390: var-expand1 use default values for peel/unroll limits Andreas Krebbel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).