Question: [ 1 0 0 pts ] In this exercise, we look at how software techniques can extract instruction - level parallelism ( ILP ) in
pts In this exercise, we look at how software techniques can extract instruction
level parallelism ILP in a common vector loop. The following loop is the socalled
DAXPY loop doubleprecision aX plus Y and is the central operation in Gaussian
elimination. The following code implements the DAXPY operation,
Initially, holds constant is set to the base address of array and is set to the
base address of array Y:
i foo: fld f; load Xi to Reg
i fmul.d ;Reg
i fld fx ; load Yi to Reg
i fadd.d f f f ; Reg
i fsd fx ; store Regf to Yi
i addi ; increase index
i addi ; increase index
i sltu ; test: continue loop? if set
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
