Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Stall cycles due to mispredicted branches increase the CPI. What is the extra CPI due to mispredicted branches with the always - taken predictor? Assume
Stall cycles due to mispredicted branches increase the CPI. What is the extra CPI due to mispredicted branches with the alwaystaken predictor? Assume that branch outcomes are determined in the MEM stage, that there are no data hazards, and that no delay slots are used. Repeat for the alwaysnottaken predictor. Repeat for the bit predictor predictor. With the bit predictor, what speedup would be achieved if we could convert half of the branch instructions in a way that replaces a branch instruction with an ALU instruction? Assume that correctly and incorrectly predicted instructions have the same chance of being replaced. With the bit predictor, what speedup would be achieved if we could convert half of the branch instructions in a way that replaced each branch instruction with two ALU instructions? Assume that correctly and incorrectly predicted instructions have the same chance of being replaced.
Stall cycles due to mispredicted branches increase the CPI. What is the extra CPI due
to mispredicted branches with the alwaystaken predictor? Assume that branch outcomes
are determined in the MEM stage, that there are no data hazards, and that no delay slots are
used.
Repeat for the alwaysnottaken predictor.
Repeat for the bit predictor predictor.
With the bit predictor, what speedup would be achieved if we could convert half of
the branch instructions in a way that replaces a branch instruction with an ALU
instruction? Assume that correctly and incorrectly predicted instructions have the same
chance of being replaced.
With the bit predictor, what speedup would be achieved if we could convert half of
the branch instructions in a way that replaced each branch instruction with two ALU
instructions? Assume that correctly and incorrectly predicted instructions have the same
chance of being replaced.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started