Question: Assume a VLIW processor can support two memory references, one floating-point operation, and one integer ALU operation (including branch) per cycle. For the following code,

Assume a VLIW processor can support two memory references, one floating-point operation, and one integer ALU operation (including branch) per cycle. For the following code, show the VLIW code that unrolls the loop four times. Note: you should schedule the operations to fill the operation slots as much as possible. Assume there are a one-cycle stall between a load and its dependent operation, a one-cycle stall between an integer operation and its dependent branch operation, and a two-cycle stall between a FP operation and its dependent store operation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
