[PATCH] Enabling Software Prefetching by Default at -O3
Christian Borntraeger
borntraeger@de.ibm.com
Fri Jun 25 12:29:00 GMT 2010
Am Donnerstag 24 Juni 2010, 23:18:28 schrieb Fang, Changpeng:
> Hi,
>
> Attached is the version of the patch that turns prefetching on at -O3 for AMD cpus
> only. As discussed elsewhere in this thread, we use tri-state for -fprefetch-loop-arrays.
> If this flag is not explicitly set, (for -O3) we turn it on in gcc/config/i386/i386.c
> (override_options).
>
> Is this OK to commit now?
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixups390.patch
Type: text/x-patch
Size: 1185 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100625/37730209/attachment.bin>
More information about the Gcc-patches
mailing list