OSDN Git Service

2009-10-14 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:06:21 +0000 (05:06 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:06:21 +0000 (05:06 +0000)
* gcc.dg/graphite/graphite.exp (DEFAULT_CFLAGS_GRAPHITE_BLOCK):
Add -fno-loop-strip-mine and -fno-loop-interchange.
(DEFAULT_FLAGS_GRAPHITE_INTERCHANGE): Add -fno-loop-block and
-fno-loop-strip-mine.
* gfortran.dg/graphite/graphite.exp: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154586 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog.graphite
gcc/testsuite/gcc.dg/graphite/graphite.exp
gcc/testsuite/gfortran.dg/graphite/graphite.exp

index 4e3178d..0a4269d 100644 (file)
@@ -1,6 +1,14 @@
 2009-10-14  Sebastian Pop  <sebastian.pop@amd.com>
 
        * gcc.dg/graphite/graphite.exp (DEFAULT_CFLAGS_GRAPHITE_BLOCK):
+       Add -fno-loop-strip-mine and -fno-loop-interchange.
+       (DEFAULT_FLAGS_GRAPHITE_INTERCHANGE): Add -fno-loop-block and
+       -fno-loop-strip-mine.
+       * gfortran.dg/graphite/graphite.exp: Same.
+
+2009-10-14  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * gcc.dg/graphite/graphite.exp (DEFAULT_CFLAGS_GRAPHITE_BLOCK):
        Renamed DEFAULT_FLAGS_GRAPHITE_BLOCK.
        (DEFAULT_CFLAGS_GRAPHITE_IDENTITY): Renamed
        DEFAULT_FLAGS_GRAPHITE_IDENTITY.
index 9ca200e..c4a8b2e 100644 (file)
@@ -43,7 +43,8 @@ dg-init
 set wait_to_run_files [lsort [glob -nocomplain $srcdir/$subdir/*.c ] ]
 
 # Flags using for block-* files.
-set DEFAULT_FLAGS_GRAPHITE_BLOCK "-O2 -floop-block -fdump-tree-graphite-all"
+set DEFAULT_FLAGS_GRAPHITE_BLOCK "-O2 -floop-block -fno-loop-strip-mine \
+ -fno-loop-interchange -fdump-tree-graphite-all"
 set block_files [lsort [glob -nocomplain $srcdir/$subdir/block-*.c ] ]
 dg-runtest $block_files "" $DEFAULT_FLAGS_GRAPHITE_BLOCK
 foreach block_file $block_files {lremove wait_to_run_files $block_file}
@@ -55,7 +56,8 @@ dg-runtest $id_files "" $DEFAULT_FLAGS_GRAPHITE_IDENTITY
 foreach id_file $id_files {lremove wait_to_run_files $id_file}
 
 # Flags using for interchange-* files.
-set DEFAULT_FLAGS_GRAPHITE_INTERCHANGE "-O2 -fdump-tree-graphite-all -floop-interchange -ffast-math"
+set DEFAULT_FLAGS_GRAPHITE_INTERCHANGE "-O2 -fdump-tree-graphite-all \
+ -floop-interchange -fno-loop-block -fno-loop-strip-mine -ffast-math"
 set interchange_files [lsort [glob -nocomplain $srcdir/$subdir/interchange-*.c ] ]
 dg-runtest $interchange_files "" $DEFAULT_FLAGS_GRAPHITE_INTERCHANGE
 foreach interchange_file $interchange_files {lremove wait_to_run_files $interchange_file}
index 0746d37..997453d 100644 (file)
@@ -42,7 +42,8 @@ dg-init
 set wait_to_run_files [lsort [glob -nocomplain $srcdir/$subdir/*.\[fF\]{,90,95,03,08} ] ]
 
 # Flags using for block-* files.
-set DEFAULT_FLAGS_GRAPHITE_BLOCK "-O2 -floop-block -fdump-tree-graphite-all"
+set DEFAULT_FLAGS_GRAPHITE_BLOCK "-O2 -floop-block -fno-loop-strip-mine \
+ -fno-loop-interchange -fdump-tree-graphite-all"
 set block_files [lsort [glob -nocomplain $srcdir/$subdir/block-*.\[fF\]{,90,95,03,08} ] ]
 gfortran-dg-runtest $block_files $DEFAULT_FLAGS_GRAPHITE_BLOCK
 foreach block_file $block_files {lremove wait_to_run_files $block_file}
@@ -54,7 +55,8 @@ gfortran-dg-runtest $id_files $DEFAULT_FLAGS_GRAPHITE_IDENTITY
 foreach id_file $id_files {lremove wait_to_run_files $id_file}
 
 # Flags using for interchange-* files.
-set DEFAULT_FLAGS_GRAPHITE_INTERCHANGE "-O2 -fdump-tree-graphite-all -floop-interchange"
+set DEFAULT_FLAGS_GRAPHITE_INTERCHANGE "-O2 -fdump-tree-graphite-all \
+ -floop-interchange -fno-loop-block -fno-loop-strip-mine -ffast-math"
 set interchange_files [lsort [glob -nocomplain $srcdir/$subdir/interchange-*.\[fF\]{,90,95,03,08} ] ]
 gfortran-dg-runtest $interchange_files $DEFAULT_FLAGS_GRAPHITE_INTERCHANGE
 foreach interchange_file $interchange_files {lremove wait_to_run_files $interchange_file}