Intel ARCHITECTURE IA-32 User Manual Page 346

  • Download
  • Add to my manuals
  • Print
  • Page
    / 568
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 345
IA-32 Intel® Architecture Optimization
6-56
platform, software can extract information on the number and the
identities of each logical processor sharing that cache level and is made
available to application by the OS. This is discussed in detail in “Using
Shared Execution Resources in a Processor Core” in Chapter 7 and
Example 7-13.
Determine Prefetch Stride Using Deterministic Cache
Parameters
The prefetch stride provides the length of the region that the processor
will prefetch with the PREFETCHh instructions (PREFETCHT0,
PREFETCHT1, PREFETCHT2 and PREFETCHNTA). Software will
use this length as the stride when prefetching into a particular level of
the cache hierarchy as identified by the particular prefetch instruction
used. The prefetch size is relevant for cache types of Data Cache (1) and
Unified Cache (3) and should be ignored for other cache types. Software
should not assume that the coherency line size is the prefetch stride. If
this field is zero, then software should assume a default size of 64 bytes
is the prefetch stride. Software will use the following algorithm to
determine what prefetch size to use depending on whether the
deterministic cache parameter mechanism is supported or the legacy
mechanism.
If a processor supports the deterministic cache parameters and
provides a non-zero prefetch size, then that prefetch size is used.
If a processor supports the deterministic cache parameters and does
not provides a prefetch size then default size for each level of the
cache hierarchy is 64 bytes.
If a processor does not support the deterministic cache parameters
but provides a legacy prefetch size descriptor (0xF0 - 64 byte, 0xF1
- 128 byte) will be the prefetch size for all levels of the cache
hierarchy.
If a processor does not support the deterministic cache parameters
and does not provide a legacy prefetch size descriptor, then 32-bytes
is the default size for all levels of the cache hierarchy.
Page view 345
1 2 ... 341 342 343 344 345 346 347 348 349 350 351 ... 567 568

Comments to this Manuals

No comments