Question: a. Processor Performance. Two different software implementations (programs) are proposed for a particular scientific function that are called prog-A and prog-B. The programs are executed

 a. Processor Performance. Two different software implementations (programs) are proposed for

a. Processor Performance. Two different software implementations (programs) are proposed for a particular scientific function that are called prog-A and prog-B. The programs are executed on comp- 1, a scalar RISC processor, one at a time to collect the following statistics. The total numbers of executed instructions for prog-A and prog-B on comp-1 are 1500 and 2500, respectively. comp-1 Instruction Type Cycles prog-A prog-B ADD 2 30% 60% MULT 8 40% 25% DIV 40 15% 5% Branch 1 15% 10% 1. Assuming that comp-1 operates at 4GHz, find the execution times of the programs and identify which one runs faster. 2. A newer version of the processor is comp-2 that provides a 8-cycle fused multiply and add (FMA) instruction in addition to the instructions supported by comp-1 (with the same number of cycles per instruction). Assuming that comp-2 operates at 2.8GHz, find the execution times of the programs and identify which one runs faster. |

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!