MCPcopy Create free account
hub / github.com/WheretIB/nullc / GenCodeCmdDtoF

Function GenCodeCmdDtoF

NULLC/CodeGen_X86.cpp:1684–1693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1682}
1683
1684void GenCodeCmdDtoF(VMCmd cmd)
1685{
1686 (void)cmd;
1687 EMIT_COMMENT("DTOF");
1688
1689 EMIT_OP_RPTR(o_fld, sQWORD, rESP, 0);
1690 EMIT_OP_REG_NUM(o_add, rESP, 8);
1691 EMIT_OP_REG_NUM(o_sub, rESP, 4);
1692 EMIT_OP_RPTR(o_fstp, sDWORD, rESP, 0);
1693}
1694
1695void GenCodeCmdItoD(VMCmd cmd)
1696{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_RPTRFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85

Tested by

no test coverage detected