View source code
Display the source code in dmd/backend/cgcod.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.

Function dmd.backend.cgcod.callcdxxx

Generate code sequence for an elem.

void callcdxxx (
  ref dmd.backend.codebuilder.CodeBuilder cdb,
  elem* e,
  uint* pretregs,
  int op
) nothrow @trusted;

Input

pretregs = mask of possible registers to return result in

Note

longs are in AX,BX or CX,DX or SI,DI doubles are AX,BX,CX,DX only constflag = 1 for user of result will not modify the registers returned in *pretregs. 2 for freenode() not called.

Output

*pretregs mask of registers result is returned in

Returns

pointer to code sequence generated

Authors

Walter Bright

License

Boost License 1.0