Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Finite Mathematics and Its Applications

Authors: Larry J. Goldstein, David I. Schneider, Martha J. Siegel, Steven Hair

12th edition

978-0134768588, 9780134437767, 134768582, 134437764, 978-0134768632

More Books

Students also viewed these Programming questions