View source code
Display the source code in dmd/backend/cgsched.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module dmd.backend.cgsched

Instruction scheduler

Compiler implementation of the D programming language.


cgsched_block(b) Entry point
simpleops(c, scratch) Replace complex instructions with simple ones more conducive to scheduling.

Manifest constants

B it's a byte operation
C floating point flags
F flags
FX pairable with FXCH instruction
mMEM memory
N other things modified, not swappable
NP not pairable
PE register contention exception
PF flags contention exception
PU pairable in U only, never executed in V
PV pairable in V only
R register (reg of modregrm field)
S floating point stack
UV pairable in both U and V


Walter Bright


Boost License 1.0