Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. We have two different code sequences. The table bellow shows the instruction counts for each instruction class. The CPI's for each instruction class
1. We have two different code sequences. The table bellow shows the instruction counts for each instruction class. The CPI's for each instruction class are 4, 3, 2, and 1, respectively. a. What is the average CPI for each code? b. If both codes run in the same machine at frequency 3.5GHz, what is the performance for each code? c. Suppose code 1 runs in machine 1 and code 2 runs in machine 2. What would be the clock period ratio that would make both machines perform equally? Code Sequence 0 DO4 103 42 A B C 1 4 2 1
Step by Step Solution
★★★★★
3.40 Rating (147 Votes )
There are 3 Steps involved in it
Step: 1
a Average CPI for each code To calculate the average CPI Cycles Per Instruction for each code sequence we can use the following formula Average CPIi1n...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