Question: 1. (16 points) A CPU has two implementations: a multi-cycle (CPUm) and a pipelined (CPUp), both have a clock frequency of 1 GHz. We have

1. (16 points) A CPU has two implementations: a multi-cycle (CPUm) and a pipelined (CPUp), both have a clock frequency of 1 GHz. We have an application program P that executes 10 billion instructions (109). CPUm has an average CPI on P of 4 instructions/cycle. CPUp has 8 pipeline stages and an average of 0.1 stall cycles/instruction. a. (4 points) Compute the execution time of P on CPUm: b. (4 points) Compute the execution time of P on CPUP: C. (2 points) Compute the speedup. d. (4 points) Modifying CPUp to have a pipeline of 16 stages allows us to reduce the clock cycle time by half, this is CPUp2, but the stall cycles per instruction are now doubled. Compute the execution time of p on CPUp2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
