Question: [4] 9. Given the table below and assuming that compute instructions take 3 cycles, load and store instructions take 20 cycles and branch instructions take
![[4] 9. Given the table below and assuming that compute instructions](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f50df63e082_92566f50df5d268e.jpg)
[4] 9. Given the table below and assuming that compute instructions take 3 cycles, load and store instructions take 20 cycles and branch instructions take 6 cycles (as shown), find the execution time of each program on a 3.5 GHz processoi Instruction Counts Compute Load Store BranchTotal 20 Cvcles needed Program 1 Program 2 20 1800 2100 700 500 200 200 100 200 2800 3000 [6] 10. A CPU has four classes of instructions with corresponding average CPIs as follows Integer (1.5), Floating Point (3.5), Memory Access (24.5) and Control Transfer (7.5) The relative instruction mixes of a number of programs are shown in the table below Program integer %tge Floating %tge | Memory 0otge | Control %tge 72 20 15 70 9 28 9 Page 3 of 5 What is the average CPI for each program? For each program, if vou could speed up only one class of instructions by 15% via implementation changes, which class would you pick and why? Would there be a case where you would prefer to increase the clock rate by 10% instead? Why or why not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
