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 #43 background imageLoading...
Page #43 background image
IA-32 Intel® Architecture Processor Family Overview
1-15
Branch Prediction
Branch prediction is important to the performance of a deeply pipelined
processor. It enables the processor to begin executing instructions long
before the branch outcome is certain. Branch delay is the penalty that is
incurred in the absence of correct prediction. For Pentium 4 and Intel
Xeon processors, the branch delay for a correctly predicted instruction
can be as few as zero clock cycles. The branch delay for a mispredicted
branch can be many cycles, usually equivalent to the pipeline depth.
Branch prediction in the Intel NetBurst microarchitecture predicts all
near branches (conditional calls, unconditional calls, returns and
indirect branches). It does not predict far transfers (far calls, irets and
software interrupts).
Mechanisms have been implemented to aid in predicting branches
accurately and to reduce the cost of taken branches. These include:
the ability to dynamically predict the direction and target of
branches based on an instruction’s linear address, using the branch
target buffer (BTB)
if no dynamic prediction is available or if it is invalid, the ability to
statically predict the outcome based on the offset of the target: a
backward branch is predicted to be taken, a forward branch is
predicted to be not taken
the ability to predict return addresses using the 16-entry return
address stack
the ability to build a trace of instructions across predicted taken
branches to avoid branch penalties.
The Static Predictor. Once a branch instruction is decoded, the
direction of the branch (forward or backward) is known. If there was no
valid entry in the BTB for the branch, the static predictor makes a
prediction based on the direction of the branch. The static prediction
mechanism predicts backward conditional branches (those with
negative displacement, such as loop-closing branches) as taken.
Forward branches are predicted not taken.

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