Question: Computer system architecture Given a benchmark code that contained 10M lw, 5M sw, 80M arithmetic, 4M branch, 1M jump instructions respectively. Assume memory access takes

Computer system architecture  Computer system architecture Given a benchmark code that contained 10M lw,

Given a benchmark code that contained 10M lw, 5M sw, 80M arithmetic, 4M branch, 1M jump instructions respectively. Assume memory access takes 3 cycles, register writes 2, ALU operations 1 cycle. All other operations are negligible. al) For a non-pipelined CPU calculate the CPI for this code. b) Calculate the CPl for a pipelined CPU assuming no hazards (all types). c) Calculate the speedup from non-pipelined CPU to the pipelined CPU d) Assuming 10% of instructions have RAW hazards instruction after it. If hazards are resolved through stalls alone; calculate the best case and worst case CP e) Repeat (d) assume data forwarding alone is used to resolved hazards. f) Repeat (d) assume branch and data forwarding used to resolve hazards

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!