Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2). Operation Instruction Count ALU 4000
The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2).
Operation Instruction Count ALU 4000 Load 1400 Store 900 Branch 500 Operation Processor 1 ALU 2 Load 6 Store 2 Branch 4 Processor 2 3 3 3 4. Table 1: Program Instructions Table 2: Processor Instruction Cycles (a) (5 Marks] Calculate the ideal CPI of this program running on Processor 1. (b) [5 Marks] Calculate the ideal CPI of this program running on Processor 2. (c) [5 Marks] Assuming that Processor 1 operates at 2.6 GHz and Processor 2 operates at 2.2 GHz calculate the CPU time for the program when run on each processor. On which processor is the program faster? (Hint: for easy calculations, 1GHz = 1 x 10Hz) (d) [5 Marks) In terms of the three factors calculating CPU time, explain why the faster processor from part (C) is indeed the faster one. How could a programmer change the program described in Table 1 so that it would run faster on the other processor? Explain why this change would workStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started