Multiple issue
A classic pipeline starts ≤1 instruction per cycle. ILP is parallelism inside one stream. Multiple issue raises peak IPC: static (VLIW — compiler packs) or dynamic (superscalar — hardware picks each cycle).
Worked example. Make the in-order core of the baseline two-wide: it starts up to two instructions per cycle, in program order, each when its operands are ready. lw starts at 0 and mul at 3, as before. At cycle 6 sw gets its operand, and addi starts in the second slot of the same cycle. bne needs the new a0 and starts at 7, together with the next iteration’s lw. The next mul starts at 10. One iteration now takes 7 cycles instead of 9, IPC=0.71\mathrm{IPC} = 0.71IPC=0.71: doubling the width gained 29 %. The width is not the limit. The limit is that in program order, the next lw cannot start before mul and sw, although it does not depend on them.
Worked example. Start with a0 mapped to p10, a1 to p11 and a2 to p12, and free registers from p20 on. Renaming two iterations of the loop:
Worked example. One loop runs through this note. It multiplies every element of an integer array by a constant kkk, x[i] = k * x[i]: