Report a bugIf you spot a problem with this page, click here to create a Bugzilla issue.
Improve this pageQuickly 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 usinga local clone.
dmd.backend.code
Define registers, register masks, and the CPU instruction linked list
Code data type
public import dmd.backend.dcode :
code_calloc,
code_free,
code_term,
code_chunk_alloc,
code_list;
PUBLIC FUNCTIONS
Register save state.
Local sections on the stack
Code Generator State
nothrow @trusted void
regimmed_set(int
reg, targ_size_t
e);
Set value in regimmed for reg.
NOTEFor 16 bit generator, this is always a (targ_short) sign-extended value.
nothrow @system regm_t
iasm_regs(block*
bp);
Get registers used by a given block
Returns:mask of registers used by block bp.