Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

3 Suppose the instruction mix is 20% loads, 20% stores, 20% branches, 15% jumps,

ID: 663717 • Letter: 3

Question

3 Suppose the instruction mix is 20% loads, 20% stores, 20% branches, 15% jumps, and 25% ALU. Compare the performance of the following machines, Find out which of the machines is the fastest. Are there instruction mixes that would make another machine faster? If so, what are they? M1. The single-cycle data path in class with a 1GHz clock. M2. The multicycle data path in class with a 4GHz clock. M3 A machine like M2, except that register updates are done in the same clock cycle as a memory read or ALU operation. Thus, state 6 and 7 are combined, State 3 and 4 are combined as well. This machine has a 3GHz clock, since the register update increase the length of the critical path. M4. A machine like M3, except that effective address calculations are done in the same clock cycle as a memory access. Thus, state 2, 3, 4 can be combined, as can 2 and 5, as well as 6 and 7. This machine has a 2GHz clock because of the long cycle created by combining address calculation and memory access.

Explanation / Answer

M4 will be faster.