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

Function GenCodeCmdDiv

NULLC/CodeGen_X86.cpp:2360–2369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2358}
2359
2360void GenCodeCmdDiv(VMCmd cmd)
2361{
2362 (void)cmd;
2363 EMIT_COMMENT("DIV int");
2364 EMIT_OP_REG(o_pop, rEBX);
2365 EMIT_OP_REG(o_pop, rEAX);
2366 EMIT_OP(o_cdq);
2367 EMIT_OP_REG(o_idiv, rEBX);
2368 EMIT_OP_REG(o_push, rEAX);
2369}
2370
2371void GenCodeCmdPow(VMCmd cmd)
2372{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OPFunction · 0.85

Tested by

no test coverage detected