Menu

(Solved) : 3 10 Pts Imagine Machine Three Instruction Types B C Imagine Two Different Test Programs I Q44118222 . . .

3 (10 pts) Imagine a machine that has three instruction types, A, B, C, and imagine two different test programs. The instruct

3 (10 pts) Imagine a machine that has three instruction types, A, B, C, and imagine two different test programs. The instruction mix for these two programs is: 1 1 1 A Program 1 20% 20% 60% Program 2 40% 40% 20% Вт Imagine further that instructions A and B currently require 3 clock cycles each, instruction C currently requires 5 clock cycles, and the machine’s clock cycle time is 2 ns. Suppose that you have come up with a design change that will allow instruction C to execute in 3 clock cycles and another, much more complex, design change that will allow instruction C to operate in 2 clock cycles. a) How much faster in terms of speedup will each of the two programs have if you choose the simple design change (i.e., instruction C goes from 5 clock cycles to 3 clock cycles)? b) How much faster in terms of speedup will each of the two programs have if you choose the complex design change i.e., instruction C goes from 5 clock cycles to 2 clock cycles)? Show transcribed image text 3 (10 pts) Imagine a machine that has three instruction types, A, B, C, and imagine two different test programs. The instruction mix for these two programs is: 1 1 1 A Program 1 20% 20% 60% Program 2 40% 40% 20% Вт Imagine further that instructions A and B currently require 3 clock cycles each, instruction C currently requires 5 clock cycles, and the machine’s clock cycle time is 2 ns. Suppose that you have come up with a design change that will allow instruction C to execute in 3 clock cycles and another, much more complex, design change that will allow instruction C to operate in 2 clock cycles. a) How much faster in terms of speedup will each of the two programs have if you choose the simple design change (i.e., instruction C goes from 5 clock cycles to 3 clock cycles)? b) How much faster in terms of speedup will each of the two programs have if you choose the complex design change i.e., instruction C goes from 5 clock cycles to 2 clock cycles)?

Expert Answer


Answer to 3 (10 pts) Imagine a machine that has three instruction types, A, B, C, and imagine two different test programs. The ins…

OR