Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4(20%) Suppose a program consists of: 30% loads, 15% stores, 10% conditional branches, 5%jumps, and 40% arithmetic/logical instructions. . . . Consider running the above
4(20%) Suppose a program consists of: 30% loads, 15% stores, 10% conditional branches, 5%jumps, and 40% arithmetic/logical instructions. . . . Consider running the above program on the pipelined processor with early branch resolution. In this processor, branches are resolved in the ID stage; branches are predicted-not-taken, so a take branch (including jumps) results in a 1-cycle penalty. Assume that 20% of the loads are immediately followed by an instruction that uses the loaded data (thus requiring a stall), and 2000 of the conditional branches are mispredicted. What is the CPI of this program
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