Question: Consider a system A with 3.4 GHz clock where each ALU instruction takes 2 clock cycles, each branch/jump instruction takes 3 clock cycles, each store

Consider a system A with 3.4 GHz clock where each ALU instruction takes 2 clock cycles, each branch/jump instruction takes 3 clock cycles, each store word and load word take 5 and 5 clock cycles respectively. Assume that a program Xhas 100 million ALU instructions, 25 million branch/jump instructions, 20 million store word instructions and 20 million load word instruction. a. Assuming sequential execution, what is the CPU time when the system A execute this program X? Also, calculate the CPI. b. Assume parallel execution between ALU and branch/jump instructions, what is the CPU time when the system A execute this program X? Also, calculate the CPI. Consider a system A with 3.4 GHz clock where each ALU instruction takes 2 clock cycles, each branch/jump instruction takes 3 clock cycles, each store word and load word take 5 and 5 clock cycles respectively. Assume that a program Xhas 100 million ALU instructions, 25 million branch/jump instructions, 20 million store word instructions and 20 million load word instruction. a. Assuming sequential execution, what is the CPU time when the system A execute this program X? Also, calculate the CPI. b. Assume parallel execution between ALU and branch/jump instructions, what is the CPU time when the system A execute this program X? Also, calculate the CPI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
