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

Function GenCodeCmdLogNotL

NULLC/CodeGen_X86.cpp:3063–3073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3061}
3062
3063void GenCodeCmdLogNotL(VMCmd cmd)
3064{
3065 (void)cmd;
3066 EMIT_COMMENT("LNOT long");
3067 EMIT_OP_REG_REG(o_xor, rEAX, rEAX);
3068 EMIT_OP_REG_RPTR(o_mov, rEBX, sDWORD, rESP, 4);
3069 EMIT_OP_REG_RPTR(o_or, rEBX, sDWORD, rESP, 0);
3070 EMIT_OP_REG(o_setz, rEAX);
3071 EMIT_OP_RPTR_REG(o_mov, sDWORD, rESP, 4, rEAX);
3072 EMIT_OP_REG_NUM(o_add, rESP, 4);
3073}
3074
3075
3076void GenCodeCmdNegD(VMCmd cmd)

Callers

nothing calls this directly

Calls 6

EMIT_COMMENTFunction · 0.85
EMIT_OP_REG_REGFunction · 0.85
EMIT_OP_REG_RPTRFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_RPTR_REGFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85

Tested by

no test coverage detected