Question
Consider the multicycle MIPS datapath we have discussed in class. Assume a benchmark executes instructions with the frequencies given below. Instruction Type Latency in cycles
Consider the multicycle MIPS datapath we have discussed in class. Assume a benchmark executes instructions with the frequencies given below.
Instruction Type | Latency in cycles | Instr. Frequencies |
Load | 5 cycles | 10 % |
Store | 4 cycles | 10 % |
Register Type | 3 cycle | 50 % |
Conditional Branch | 3 cycles | 25 % |
Jump | 4 cycles | 5 % |
1. Assuming no hazards occur what is the average CPI for the given benchmark?
2. Compute the new CPI assuming the following hazards occur simultaneously
branches are miss-predicted 25% of the time and suffer a 2 cycle miss-prediction penalty,
the data memory misses 20% of the time with a penalty of 3 cycles. Consider loads only.
Ignore any other hazards.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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