Question: Question#1: For the attached code (multiplying two 4x4 matrices) assume clk= 200MHz Instructions CPI MUL, li 5 Other ALU 2 Branch 3 LW, SW 7

Question#1: For the attached code (multiplying two 4x4 matrices) assume clk= 200MHz Instructions CPI MUL, li 5 Other ALU 2 Branch 3 LW, SW 7 1) What is the average CPI ? 2) What is the time percentage for each instruction group of the total execution time? 3) Assume after adding a cache the effective CPI for LW and SW changed to 1 cycle, recalculate questions 1 and 2 based on the new assumption
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
