Question: C) Given a processor and workload with the following instruction mix and CPI: Instruction Type Integer Arithmetic Branches Instruction Mix 10% 10% 60% con N3

C) Given a processor and workload with the
C) Given a processor and workload with the following instruction mix and CPI: Instruction Type Integer Arithmetic Branches Instruction Mix 10% 10% 60% con N3 Loads Stores 20% i) What is the average CPI? ii) With extensive engineering effort, you can reduce the time an instruction type (other than integer arithmetic) takes by 1 cycle. Which instruction type will improve performance by the most? Why? iii) You decide to add a store buffer, which will greatly speed up stores but will slow down loads. If the store buffer reduces the store CPI to 1, for this optimization to be worthwhile, what is the greatest CPI loads could be increased to? Ignore part B. iv) Consider the processor before any changes from parts B or C. You tweak the compiler to reduce the overall number of instructions executed by 0.95x, however, it causes half of the integer operations to become stores (.e. integer now 5% and stores now 25%). Will this optimization lead to a net speedup for this workload? Why

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 General Management Questions!