Intermediate Computer Architecture & Organization
Q43 / 100

What is "branch prediction" used for in modern CPUs?

Correct! Well done.

Incorrect.

The correct answer is A) It attempts to guess the outcome of a conditional branch instruction before it is actually evaluated, allowing the pipeline to continue fetching and executing instructions speculatively to avoid stalls

A

Correct Answer

It attempts to guess the outcome of a conditional branch instruction before it is actually evaluated, allowing the pipeline to continue fetching and executing instructions speculatively to avoid stalls

Explanation

Since branches can cause pipeline stalls while waiting to know which path to take, branch predictors guess the likely outcome based on history, allowing speculative execution — if wrong, the pipeline is flushed and corrected.

Progress
43/100