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

Function GenCodeCmdShl

NULLC/CodeGen_X86.cpp:2487–2496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2485}
2486
2487void GenCodeCmdShl(VMCmd cmd)
2488{
2489 (void)cmd;
2490 EMIT_COMMENT("SHL int");
2491 EMIT_OP_REG(o_pop, rECX);
2492 EMIT_OP_REG(o_pop, rEAX);
2493 EMIT_OP_REG_REG(o_sal, rEAX, rECX);
2494 EMIT_OP_REG(o_push, rEAX);
2495 KILL_REG(rECX);
2496}
2497
2498void GenCodeCmdShr(VMCmd cmd)
2499{

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