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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!