predcom-1.c: Explicitly turn on loop unroll and set max unroll times to 8.

2011-09-29  Jiangning Liu  <jiangning.liu@arm.com>

	* gcc/testsuite/gcc.dg/tree-ssa/predcom-1.c: Explicitly turn on
	loop unroll and set max unroll times to 8.
	* gcc/testsuite/gcc.dg/tree-ssa/predcom-2.c: Likewise.
	* gcc/testsuite/gcc.dg/tree-ssa/predcom-3.c: Likewise.
	* gcc/testsuite/gcc.dg/tree-ssa/predcom-4.c: Likewise.
	* gcc/testsuite/gcc.dg/tree-ssa/predcom-5.c: Likewise.

From-SVN: r179330
This commit is contained in:
Jiangning Liu 2011-09-29 06:48:26 +00:00 committed by Joey Ye
parent b330423519
commit 655cd20f9d
6 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2011-09-29 Jiangning Liu <jiangning.liu@arm.com>
* gcc/testsuite/gcc.dg/tree-ssa/predcom-1.c: Explicitly turn on
loop unroll and set max unroll times to 8.
* gcc/testsuite/gcc.dg/tree-ssa/predcom-2.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/predcom-3.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/predcom-4.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/predcom-5.c: Likewise.
2011-09-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/40145

View File

@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-do run } */
/* { dg-options "-O2 -fpredictive-commoning -fdump-tree-pcom-details" } */
/* { dg-options "-O2 -funroll-loops --param max-unroll-times=8 -fpredictive-commoning -fdump-tree-pcom-details" } */
void abort (void);

View File

@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-do run } */
/* { dg-options "-O2 -fpredictive-commoning -fdump-tree-pcom-details" } */
/* { dg-options "-O2 -funroll-loops --param max-unroll-times=8 -fpredictive-commoning -fdump-tree-pcom-details" } */
void abort (void);

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fpredictive-commoning -fdump-tree-pcom-details" } */
/* { dg-options "-O2 -funroll-loops --param max-unroll-times=8 -fpredictive-commoning -fdump-tree-pcom-details" } */
int a[1000], b[1000];

View File

@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-do run } */
/* { dg-options "-O2 -fpredictive-commoning -fdump-tree-pcom-details" } */
/* { dg-options "-O2 -funroll-loops --param max-unroll-times=8 -fpredictive-commoning -fdump-tree-pcom-details" } */
/* Test for predictive commoning of expressions, without reassociation. */

View File

@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-do run } */
/* { dg-options "-O2 -fpredictive-commoning -fdump-tree-pcom-details" } */
/* { dg-options "-O2 -funroll-loops --param max-unroll-times=8 -fpredictive-commoning -fdump-tree-pcom-details" } */
/* Test for predictive commoning of expressions, with reassociation. */