Question: Consider the following instruction sequence executing on a 5 - stage ARM pipeline with static branch prediction and branches are resolved early in the execute
Consider the following instruction sequence executing on a stage ARM pipeline with
static branch prediction and branches are resolved early in the execute stage. The
instruction sequence shown results in control hazards. Note that the loop counter in R
is set to Suppose the CPU uses a static branch prediction policy of predictalways
untaken. How many cycles are wasted due to control hazards? Assume the program
executes several more nonbranch instructions after the label DONE.
a
b
c
d
e
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
