[PATCH] Enabling Software Prefetching by Default@-O3

Ulrich Weigand uweigand@de.ibm.com
Fri Jul 2 12:46:00 GMT 2010


Christian Borntraeger wrote:

> Looks good. As soon as this is committed, somebody  should commit the following fix
> that makes fno-prefetch-loop-arrays work again on s390.
> 
> Andreas, Ulrich. Can you have a look and apply after Changpengs patch if ok.

> 	* config/s390/s390.c (override_options): Adopt prefetching
>         at -O3 to handle flag_prefetch_loop_arrays as a tristate.

I've checked this in now ...

>     /* This cannot reside in optimization_options since HAVE_prefetch
> !      requires the arch flags to be evaluated already.  Since prefetching
> !      is benefitial on s390, we enable it if available.  */

... with this typo fixed: beneficial.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gcc-patches mailing list