Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a ) Consider the following loop for i i n range ( 2 5 6 ) : i f x [ i ] 0 ,
a Consider the following loop
for range :
Is the above loop vectorizable? If not, then show where the problem lies.
b Compare the Intel's SIMD extension instructions and RISCV vector instructions.
c Consider the following code where and are mmorybased arrays and a double precision FP
number also stored in memory:
for
The following table gives the stall cycles required between instruction producing the result and the
instruction using that result.
The corresponding assembly code without any scheduling is given as under:
Suppose a threeissue VLIW machine is designed that can issue one ALUBranch one FP operation,
and one memory reference instruction in every clock cycle. Schedule the above code on this VLIW
processor so that the stalls are minimized and IPC is maximized. You can also unroll the loop if
required for better performance. All forwarding paths are available. What is the maximum IPC you
achieved? Compare it with the theoretical maximum.
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