EasyManuals Logo

Intel ARCHITECTURE IA-32 User Manual

Intel ARCHITECTURE IA-32
568 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #123 background imageLoading...
Page #123 background image
General Optimization Guidelines 2
2-51
Locality enhancement to the last level cache can be accomplished with
sequencing the data access pattern to take advantage of hardware
prefetching. This can also take several forms:
Transformation of a sparsely populated multi-dimensional array into
a one-dimension array such that memory references occur in a
sequential, small-stride
1
, pattern that are friendly to the hardware
prefetch.
Optimal tile size and shape selection can further improve temporal
data locality by increasing hit rates into the last level cache and
reduce memory traffic resulting from the actions of hardware
prefetching. (See “Hardware Prefetching and Cache Blocking
Techniques” in Chapter 6.)
It is important to avoid operations that work against locality-enhancing
techniques. Using the lock prefix heavily can incur large delays when
accessing memory, irrespective of whether the data is in the cache or in
system memory.
User/Source Coding Rule 6. (H impact, H generality) Optimization
techniques such as blocking, loop interchange, loop skewing and packing are
best done by the compiler. Optimize data structures to either fit in one-half of
the first-level cache or in the second-level cache; turn on loop optimizations in
the compiler to enhance locality for nested loops.
Optimizing for one-half of the first-level cache will bring the greatest
performance benefit in terms of cycle-cost per data access. If one-half of
the first-level cache is too small to be practical, optimize for the
second-level cache. Optimizing for a point in between (for example, for
the entire first-level cache) will likely not bring a substantial
improvement over optimizing for the second-level cache.
1. See “Data Prefetch” in Chapter 1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel ARCHITECTURE IA-32 and is the answer not in the manual?

Intel ARCHITECTURE IA-32 Specifications

General IconGeneral
Instruction Setx86
Instruction Set TypeCISC
Memory SegmentationSupported
Operating ModesReal mode, Protected mode, Virtual 8086 mode
Max Physical Address Size36 bits (with PAE)
Max Virtual Address Size32 bits
ArchitectureIA-32 (Intel Architecture 32-bit)
Addressable Memory4 GB (with Physical Address Extension up to 64 GB)
Floating Point Registers8 x 80-bit
MMX Registers8 x 64-bit
SSE Registers8 x 128-bit
RegistersGeneral-purpose registers (EAX, EBX, ECX, EDX, ESI, EDI, ESP, EBP), Segment registers (CS, DS, SS, ES, FS, GS), Instruction pointer (EIP), Flags register (EFLAGS)
Floating Point UnitYes (x87)

Related product manuals