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 #129 background imageLoading...
Page #129 background image
General Optimization Guidelines 2
2-57
new cache line flush instruction
new memory fencing instructions
For a detailed description of using cacheability instructions, see
Chapter 6.
Code Alignment
Because the trace cache (TC) removes the decoding stage from the
pipeline for frequently executed code, optimizing code alignment for
decoding is not as important for Pentium 4 and Intel Xeon processors.
For the Pentium M processor, code alignment and the alignment of
branch target will affect the throughput of the decoder.
Careful arrangement of code can enhance cache and memory locality.
Likely sequences of basic blocks should be laid out contiguously in
memory. This may involve pulling unlikely code, such as code to handle
error conditions, out of that sequence. See “Prefetching” section on how
to optimize for the instruction prefetcher.
Assembly/Compiler Coding Rule 29. (M impact, H generality) All branch
targets should be 16-byte aligned.
Assembly/Compiler Coding Rule 30. (M impact, H generality) If the body
of a conditional is not likely to be executed, it should be placed in another part
of the program. If it is highly unlikely to be executed and code locality is an
issue, the body of the conditional should be placed on a different code page.
Improving the Performance of Floating-point
Applications
When programming floating-point applications, it is best to start with a
high-level programming language such as C, C++ or Fortran. Many
compilers perform floating-point scheduling and optimization when it is
possible. However in order to produce optimal code, the compiler may
need some assistance.

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