This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Enabling Software Prefetching by Default@-O3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]