Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started