Question: I know the correct answer for this question but I am not sure how to get it. Q: A hardware designer is trying to choose
I know the correct answer for this question but I am not sure how to get it.
Q: A hardware designer is trying to choose btwn two code sequences running on the same computer. The designer identified s classes of instructions AB, and C. The CPI for A class is to The CPI for B is 20 The CPI for C is so The two code sequences require the following instruction counts for each class. Choose the best answer: Instruction count Code A | | B | C 12 Sequence seg 1 1 A seg 1 is faster since aug CPI is 3.0 and takes 5 cycles us 6 Cycles for Sex 2. (6) seq 2 is faster since its aug CP TS 2.0 and takes 5 cycles us 6 for seg t Seq 2 this to a seg, 2 is che is correct, how do 7 at this result. faster, since its avg CPI is 1.5 and takes q cycles Vs 10 I for seq 1. T
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
