Question: Load R 1 , # 0 Load R 2 , A ( M ) Add R 2 , R 1 Load R 3 , C
Load R #
Load R AM
Add R R
Load R CO
Sub R R
Load R BN
Multiply R R
Load DP R
Consider the above segment of code. The code needs to be executed times for evaluating the vector arithmetic expression. The code contains four processor registers R R R and R and the starting memory location M N O and P for the respective arrays AM BN CO and DP respectively.
The Load or Store, Add or Sub and Multiply instructions require eight, five and twelve clock cycles respectively. The clock cycles mentioned work on both SISD and SIMD processors. Observe the processor cycles to be performed on SISD and SIMD by answering the following questions.
a Total number of processor clock cycles required to execute the above code times sequentially on SISD uniprocessor ignore the time delays
b Total number of processor clock cycles required to execute the above code times using processing elements to execute the vector operations in eight synchronized vector instructions using component
vector data utilizing the same clock speed on SISD processor ignore the other broadcast and time delays
c Compute the speedup performance gain between the SIMD and SISD computer processor.
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
