Trace scheduling
Trace scheduling is an optimization technique developed by Josh Fisher used in compilers for computer programs.[src] A compiler often can, by rearranging its generated machine instructions for faster execution, improve program performance.[src] It increases ILP (Instruction Level Parallelism) along the important execution path by statically predicting frequent execution path.[src] Trace scheduling is one of many known techniques for doing so.[src] A trace is a sequence of instructions, including branches but not including loops, that is executed for some input data.[src] Trace scheduling uses a basic block scheduling method to schedule the instructions in each entire trace, beginning with the trace with the highest frequency.[src] It then adds compensation code at the entry and exit of each trace to compensate for any effects that out-of-order execution may have had.[src] This can result in large increases in code sizes and poor or erratic performance if program's behavior varies significantly with the input.[src] Trace scheduling was originally developed for Very Long Instruction Word, or VLIW machines, and is a form of global code motion.[src] It works by converting a loop to long straight-line code sequence using loop unrolling and static branch prediction.[src] This process separates out "unlikely" code and adds handlers for exits from trace.…[src]
Trace scheduling is an optimization technique developed by Josh Fisher used in compilers for computer programs.[src] A compiler often can, by rearranging its generated machine instructions for faster execution, improve program performance.[src] It increases ILP (Instruction Level Parallelism) along the important execution path by statically predicting frequent execution path.[src] Trace scheduling is one of many known techniques for doing so.[src] A trace is a sequence of instructions, including branches but not including loops, that is executed for some input data.[src] Trace scheduling uses a basic block scheduling method to schedule the instructions in each entire trace, beginning with the trace with the highest frequency.[src] It then adds compensation code at the entry and exit of each trace to compensate for any effects that out-of-order execution may have had.[src] This can result in large increases in code sizes and poor or erratic performance if program's behavior varies significantly with the input.[src] Trace scheduling was originally developed for Very Long Instruction Word, or VLIW machines, and is a form of global code motion.[src] It works by converting a loop to long straight-line code sequence using loop unrolling and static branch prediction.[src] This process separates out "unlikely" code and adds handlers for exits from trace.[src] The goal is to have the most common case executed as a sequential set of instructions without branches.[src] ==See also== Instruction scheduling ==References==[src]
24 sentences · 24 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Trace scheduling." encyclopegia.org, 2026, https://encyclopegia.org/wiki/trace-scheduling. Accessed 26 November 2026.
Chicago
"Trace scheduling." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/trace-scheduling.
APA
encyclopegia.org. (2026). Trace scheduling. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/trace-scheduling
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON