Click here I do not understand how do you write schduled loop from unscheduled one. The unscheduled loop straightforward if you follow the stall rules.

The rules say you are supposed to stall after L.D but in the right loop theres no stall.

  • 1
    $\begingroup$ You do not stall after a load. You only stall after a load if the next instruction uses the result of the load. On the right side the next instruction doesn't use the result of the load, therefore no stall. $\endgroup$ – gnasher729 Apr 16 '18 at 21:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.