What is the purpose of branch prediction in a CPU pipeline?
-
A
To predict which cache level will contain needed data
-
B
To speculatively execute instructions after a conditional branch to avoid pipeline stalls
-
C
To route operands to the correct ALU functional unit
-
D
To predict memory access patterns for prefetching data