Question
5. Assume that you have an ISA with the following instructions and required CPI for two different processors. Insturction Processor A Processor B ld 1
5. Assume that you have an ISA with the following instructions and required CPI for two different processors. Insturction Processor A Processor B ld 1 1 sd 3 4 add 1 2 sub 3 2 mul 7 5 div 7 11 Suppose that you have a program with 40,000,000 instructions where 20% are ld, 10% are sd, 30% are add, 10% are sub, 20% are mul, and 10% are div. Calculate the following: a) The CPI for both Processor A and Processor B for this program. b) The CPU time for Processor A assuming it has a clock rate of 3.5 GHz. c) The required clock speed for Processor B for it to have the same relative performance as Processor A for this particular 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