Dynamic Scheduling (w6) Flashcards
1
Q
Static instruction scheduling (software does this)
A
When the compiler swaps the order of instructions to reduce stall cycles.
This is difficult to the compiler to do because it is difficult to prove that two instructions are independent of each other and thus can be run one after the another and not cause stalls.
2
Q
Dynamic instruction scheduling (hardware does this)
A
Changing the order of execution for instructions to optimise a program. Exp. Tomasulo’s algorithm