[patch] Improve loop array prefetch for IA-64
Steven Bosscher
stevenb.gcc@gmail.com
Fri Jun 2 22:35:00 GMT 2006
On 6/3/06, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> > For floating point data, the latter is the only interesting case because float loads only
> > access the L2. Thus using "lfetch" for floating point arrays will unnecessarily wipe out
> > the contents of L1. (gcc 3.2.3 only seems to generate "lfetch", which is why I ask...)
>
> You could experiment with this for ia64 by hacking issue_prefetch_ref
> in tree-ssa-loop-prefetch.c to issue a prefetch to L2 for floating
> point types.
E.g. something like this, which is (needless to say) untested but
something you could play with.
Gr.
Steven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hack.diff
Type: text/x-patch
Size: 1595 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060602/ecd4fb1b/attachment.bin>
More information about the Gcc-patches
mailing list