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

Function GenCodeCmdShr

NULLC/CodeGen_X86.cpp:2498–2507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2496}
2497
2498void GenCodeCmdShr(VMCmd cmd)
2499{
2500 (void)cmd;
2501 EMIT_COMMENT("SHR int");
2502 EMIT_OP_REG(o_pop, rECX);
2503 EMIT_OP_REG(o_pop, rEAX);
2504 EMIT_OP_REG_REG(o_sar, rEAX, rECX);
2505 EMIT_OP_REG(o_push, rEAX);
2506 KILL_REG(rECX);
2507}
2508
2509void GenCodeCmdBitAnd(VMCmd cmd)
2510{

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