[Bug c/53593] #pragma prefetch
litro at graasmilk dot net
gcc-bugzilla@gcc.gnu.org
Thu Jun 7 08:55:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53593
--- Comment #2 from atcl <litro at graasmilk dot net> 2012-06-07 08:55:11 UTC ---
(In reply to comment #1)
> This pragma is a control for the equivalent of the option
> -fprefetch-loop-arrays .
>
> You might want to try out -fprefetch-loop-arrays out.
Well, but what about nested loops, or multiple loop indices or multiple arrays?
The prefetch and noprefetch pragma would give you a better degree of control in
my opinion. I would require these pragmas for very special situation, where I
feel I do know better than the compiler.
More information about the Gcc-bugs
mailing list