Question: Assume that a processor takes 1 cycle for simple integer instructions, 2 cycles for branches, and 4 cycles for integer multiply. Loads and stores take

Assume that a processor takes 1 cycle for simple integer instructions, 2 cycles for branches, and 4 cycles for integer multiply. Loads and stores take 2 cycles on an L1 cache hit, or 20 cycles on a miss. The instruction stream is made up of 30% branches, 20% loads/stores,40% integer operations, and 10% integer multiply instructions. Of the memory accesses, 90% are hits and 10% are misses. What is the average CPI for this instruction stream?

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 Programming Questions!