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

Function GenCodeCmdMul

NULLC/CodeGen_X86.cpp:2349–2358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2347}
2348
2349void GenCodeCmdMul(VMCmd cmd)
2350{
2351 (void)cmd;
2352 EMIT_COMMENT("MUL int");
2353 EMIT_OP_REG(o_pop, rEAX);
2354 EMIT_OP_REG(o_pop, rEDX);
2355 EMIT_OP_REG_REG(o_imul, rEAX, rEDX);
2356 EMIT_OP_REG(o_push, rEAX);
2357 KILL_REG(rEDX);
2358}
2359
2360void GenCodeCmdDiv(VMCmd cmd)
2361{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_REG_REGFunction · 0.85

Tested by

no test coverage detected