[patch 4/4 v4] Allow loop prefetch code to speculatively prefetch non constant steps

Christian Borntraeger borntraeger@de.ibm.com
Sun May 9 20:07:00 GMT 2010


Am Freitag 07 Mai 2010 23:10:13 schrieb Andreas Krebbel:
> Hi Christian,
> 
> > Bootstrapped and tested on s390x-ibm-linux-gnu.
> 
> I assume you have enabled the pass when running the testsuite?!

fprefetch-loop-arrays cannot be combined with -Os causing ~500 testcases to
always fail, therefore I did both.
The normal run shows no difference at all, the run with /-fprefetch-loop-arrays
shows no regression on the successful testcases.

There are some strange effects, though, that there are 3 test cases which
causes a fail _without_ the patches are now "fixed" by the patches.

-FAIL: gcc.dg/tree-prof/pr34999.c compilation,  -fprofile-use -D_PROFILE_USE (internal compiler error)
-UNRESOLVED: gcc.dg/tree-prof/pr34999.c execution,    -fprofile-use -D_PROFILE_USE
-FAIL: gcc.dg/tree-ssa/loop-6.c scan-tree-dump-times optimized "else" 3

                === gcc Summary ===

-# of expected passes           65182
-# of unexpected failures       550
+# of expected passes           65185
+# of unexpected failures       548
 # of unexpected successes      20
 # of expected failures         114
-# of unresolved testcases      20
+# of unresolved testcases      19
 # of unsupported tests         712
 /home0/cborntra/REPOS/gcc/build-trunk/gcc/xgcc  version 4.6.0 20100507 (experimental) (GCC)

So from testing perspective the patches looks good. 

Christian



More information about the Gcc-patches mailing list