Question: Problem 3: Loop Unrolling (20 points) List all the dependencies (true, anti, output- i.e., RAW, WAR, WAW) in the following code fragmen (which has three
Problem 3: Loop Unrolling (20 points) List all the dependencies (true, anti, output- i.e., RAW, WAR, WAW) in the following code fragmen (which has three statements in the loop body). Indicate whether the true dependencies are loop or not. Can this loop, as written, be unrolled? Explain. Is there code so that the loop no credit will be given for simple Yes or No answer.) carried any manner in which you can rewrite the unrolling can be applied to the rewritten code? (You have to explain your answer- c[1] = 2tc[1] for (i=1; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
