Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is branch misprediction?
Think about what happens when a processor makes the wrong guess.
What is the penalty of a misprediction?
Consider what needs to happen in the pipeline after a wrong prediction.
What occurs when a branch is mispredicted?
Consider what happens to instructions in the pipeline.
True or False: A branch misprediction can lead to significant delays in a processor's operation.
Think about how instructions are executed in a pipeline.
Consider a processor that mispredicts a branch in a highly iterative loop. Analyze how this could affect the overall efficiency of a program running on this processor.
Think about how many cycles might be wasted in an iterative process.
Design a brief experimental setup to compare the effects of static and dynamic branch prediction on pipelined performance. What metrics would you consider?
Consider how branch behavior might influence the effectiveness of each prediction strategy.
5 more questions in this section. Enroll free to practise them all.
Enroll free