On Fri, May 14, 2010 at 12:44:18PM -0700, David Daney wrote: > GCC's __builtin_prefetch() was introduced a long time ago, all > supported GCC versions have it. Lets do what the big boys up in > linux/prefetch.h do, except we use '1' as the third parameter to > provoke 'PREF 0,...' and 'PREF 1,...' instead of other prefetch > hints. > > This allows for better code generation. In theory the existing > embedded asm could be optimized, but the compiler has these builtins, > so there is really no point. Applied, thanks. Ralf