| 50d8bf02 | 27-Aug-2010 |
Jed Brown <jed@59A2.org> |
Prefetch updates
Use __builtin_prefetch when it's available. The control is at least as precise as the _mm_prefetch intrinsics.
Add PETSC_PREFETCH_HINT_{NTA,T0,T1,T2} macros to handle implementati
Prefetch updates
Use __builtin_prefetch when it's available. The control is at least as precise as the _mm_prefetch intrinsics.
Add PETSC_PREFETCH_HINT_{NTA,T0,T1,T2} macros to handle implementations disagreeing about _mm_prefetch prototypes.
Changed prefetch call in relax.h to from T0 to NTA, it seems very unlikely that this function really intended to prefetch only to highest-level cache.
Hg-commit: 1bd3600f61c29cec4aa844c152ce9cf8b01912e8
show more ...
|