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

Function GenCodeCmdDivL

NULLC/CodeGen_X86.cpp:2602–2611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2600}
2601
2602void GenCodeCmdDivL(VMCmd cmd)
2603{
2604 (void)cmd;
2605 EMIT_COMMENT("DIV long");
2606 EMIT_OP_REG_NUM(o_mov, rECX, (int)(intptr_t)longDiv);
2607 EMIT_OP_REG(o_call, rECX);
2608 EMIT_OP_REG_NUM(o_add, rESP, 8);
2609 EMIT_OP_RPTR_REG(o_mov, sDWORD, rESP, 4, rEDX);
2610 EMIT_OP_RPTR_REG(o_mov, sDWORD, rESP, 0, rEAX);
2611}
2612
2613void GenCodeCmdPowL(VMCmd cmd)
2614{

Callers

nothing calls this directly

Calls 4

EMIT_COMMENTFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_RPTR_REGFunction · 0.85

Tested by

no test coverage detected