Question: Table 1 shows the performance on two difference CPUs executing program C. For each CPU, answer the following questions: a. Calculate the Clock Cycles
Table 1 shows the performance on two difference CPUs executing program C. For each CPU, answer the following questions: a. Calculate the Clock Cycles for each instruction type? [2 marks] b. Calculate the Instructions Per Clock Cycle (IPC) for each instruction type? [2 marks] Find the CPU clock cycles? [2 marks] C. d. e. Find the CPU execution time? [2 marks] Determine which CPU executes the instructions faster and by how much? [2 marks] Clock Rate Instruction DIV SUB MOV ADD Table 1: The performance for CPU Alien and CPU Smurf CPU Smurf 250 MHz CPU Alien 300 MHz Instruction Counts 40 15 30 40 CPI 2.4 1285 1.2 1.8 2.5 Instruction Counts 35 15 45 20 CPI 2.0 3.2 1.2 2.2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
