Question: Assume that machine A is a 5 - stage pipeline with 1 n s clock cycle, and machine B is a 1 0 - stage
Assume that machine is a stage pipeline with clock cycle, and machine is a stage pipeline
with ns clock cycle. The machine A experiences a stall due to a data hazard every instructions, and
the machine B experiences stalls every instructions. Also, branches constitute of the
instructions, and the misprediction rate for both machines is
a Which machine is faster, and by how much, when only considering data hazards?
b If the branch misprediction penalty for machine A and is and cycles respectively, what are the
CPIs of each machine?
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
