encyclopegia.org

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

Related articles

trace amine

stub · references available

anticipatory scheduling

stub · references available

fair-share scheduling

stub · references available

trace quantity

stub · references available

Trace

stub · references available

Buffalo Trace Park

stub · references available

Dogwood Trace

stub · references available

job-shop scheduling

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1352002888 · 0.5 · snapshot enwiki-001352002888

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.