Question: 2 . [ 1 5 % ] Consider a sequential C program as illustrated in the figure below. The program is divided into four code
Consider a sequential C program as illustrated in the figure below. The program is divided into four code segments, T T T and T We profile the program execution time on the singlecore MIPS processor and the execution time for the code segments is: ms for Tms for Tms for T and ms for T Moreover, two different processor variants are available: one is the quadcore MIPS processor with the same instruction set architecture as the singlecore processor and the other one is the singlecore MIPS processor with an wide SIMD engine. Assume we have converted the program into parallel versions suitable for the two processors, respectively. Please answer the following questions.
Parallelize the program suitable for the multicore processor and calculate the speedup of the parallelized program.
Parallelize the program suitable for the processor with the SIMD engine and calculate the speedup of the parallelized program.
Based on the speedups calculated in and please determine which processor is faster? Why?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
