Pre-fetch software at page border on x86

I understand that prefetching equipment will never cross page boundaries. I am wondering if the software prefetch has the same limitations, that is, I can use the software prefetch to avoid future TLB skips. From the search around, it seems possible, but I could not find anything final in the documentation, so the link would be nice.

I am particularly interested in Nehalem, Sandy Bridge and Westmere.

+5
source share
2 answers

According to the Intel Optimization Reference Guide , this is processor dependent. From section 7.4.3:

, PREFETCH . :

  • PREFETCH DTLB ( ). Pentium 4 CPUID, 15, 0, 1 2. PREFETCH DTLB Pentium 4 CPUID 15, 3.
  • , /.

TLB, . , .

, TLB, . , .

+2

(Nehalem, Sandy Bridge Westmere) TLB.

Intel: ( 7.3.3)

PREFETCH Lookaside Buffer (DTLB) . Nehalem, Westmere, Sandy Bridge Intel Core 2 Intel Atom, PREFETCH, DTLB .

+2

All Articles