Answer:
Given that Program instructions consists of:
- 60% floating point multiply
- 20% floating point divide
- 20% other instructions
Amdahl's law states that:
Execution time affected by improvement = (Execution time after improvement/ Amount of improvement) + (Execution time unaffected)
Assuming initially that floating point multiply, divide and other instructions have same clocks per instruction (CPI).
Part (a)
New execution time after improvement with multiply = (60) / 8 + (20 + 20) = 47.5
New execution time after improvement with Divide = (20) / 3 + (60 + 20) = 86.67
New system should be 4x faster which means new execution time should be below = 100/ 4 = 25.
Therefore, Management's goal can NOT be achieved by making the improvement with multiply or divide alone.
Part (b)
New execution time after improvement with multiply and divide = (60 / 8) + (20 / 3) + 20 = 34.17
Speed up = execution time of original machine / Execution time of new machine = (100 / 34.17) = 2.93
Therefore, new machine is 2.93 times faster than original machine.