Question: 1. (14) A particular program uses 3 classes of instructions. Class A instructions use 8 cycles and they are used 20% of the time. Class

1. (14) A particular program uses 3 classes of instructions. Class A instructions use 8 cycles and they are used 20% of the time. Class B instructions use 2 cycles and they are used 50% of the time. Class C instructions use 6 cycles and they are used 30% of the time. (a) What is the CPI for this program? (b) Why should CPI never be reported without also stating what program and compiler was used? (c) The CPU that executes the program can be redesigned so that any one (but only one) of the instruction classes can be made 2 times faster. Which class should be improved in order to minimize the time required to complete the program? (d) If the above improvement is made, how many times faster will the new processor be than the old than the old processor when running this program? 1. (14) A particular program uses 3 classes of instructions. Class A instructions use 8 cycles and they are used 20% of the time. Class B instructions use 2 cycles and they are used 50% of the time. Class C instructions use 6 cycles and they are used 30% of the time. (a) What is the CPI for this program? (b) Why should CPI never be reported without also stating what program and compiler was used? (c) The CPU that executes the program can be redesigned so that any one (but only one) of the instruction classes can be made 2 times faster. Which class should be improved in order to minimize the time required to complete the program? (d) If the above improvement is made, how many times faster will the new processor be than the old than the old processor when running this program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
