Computer architectureLesson 2 of 3 in the course Pipelining and parallelism
Branch Prediction: Strategies, History, and Speculative Execution
5 flashcards · 5 quiz questions · 5 match pairs · 5 fill-in sentences · English
Lesson progress
0 / 5
Your progress is kept in this browser only.Sign up to save it
Summary
This lesson explains what branch predictors do and why they are essential to keeping a processor pipeline busy.
A program’s control flow may depend on a condition, such as an if–then–else statement. At the machine level, this is commonly implemented with a conditional jump. The jump is either taken, transferring execution to another address, or not taken, continuing with the next sequential instruction.
All flashcards
Quiz questions
Based on the Wikipedia article Branch predictor, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.
More in Computer architecture
All Computer architecture lessonsComputer architectureInstruction Pipelining: Stages, Hazards, and Performance Trade-offs5 flashcards · 5 quiz questions · 4 gamesPlay free →Computer architectureCPU Cache Organization, Policies, Addressing, and Hierarchies5 flashcards · 5 quiz questions · 4 gamesPlay free →Computer architectureOut-of-Order Execution: Scheduling, Renaming, and Retirement5 flashcards · 5 quiz questions · 4 gamesPlay free →Computer architectureMemory Hierarchy: Storage Levels, Locality, and Tiering5 flashcards · 5 quiz questions · 4 gamesPlay free →Computer architectureData and Control-Flow Addressing Modes in Processor Architectures5 flashcards · 5 quiz questions · 4 gamesPlay free →