Please Help 🙂

Consider two different implementations of the same instruction set architecture. The instructions can” aria-describedby=”ffr”>
(4 pts) What is the global CPI for each implementation? Take the total cycles and divide by the total instruction count. c. F 1.6 (16 pts) Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI We’ll label them A: Integer, B: Floating Point, C: Load/Store and D: Control. Assume our program runs for 2 million instructions. More data you’ll need: P1 Clock rate 7.12 GHz P2 Clock rate 6.98 GHz P1 CPI P2 CPI IC % Class A 2.13 3.59 13 Class B 3.16 3.38 35 Class C 1.87 3.75 27 Class D 1.21 1.98 25 To walk through an example, the Integer instructions, which we labeled A, requires 2.13 cycles per instruction on P1, 3.59 on P2, and represent 13 % of all of the 2 million total dynamic instructions given to each processor. a. (4 pts) How many instructions are run in each category by each processor? Class A Class B Class C Class D Total 2.00E+06 (5 pts) How many cycles are spent by each CPU in each category and what’s the total cycle count per CPU? Answer in scientific notation with 3 digits of significance. (e.g. 2.34E4) b. P1 cycles P2 cycles Cycles for A A Cycles for B B Cycles for C C Cycles for D total cycles (4 pts) What is the global CPI for each implementation? Take the total cycles and divide by the total instruction count. c. For P1: For P2: d. (3 pts -2×1.5) Calculate how long each CPU will spend calculating all of the cycles required to run the program’s instructions, given the clock speed of each CPU. Answer in the proper prefix to seconds as described in 1.5(f), not in scientific notation. Use 4 digits of significance. P1: P2:



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *