Answered step by step
Verified Expert Solution
Question
1 Approved Answer
[ 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
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