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

Function GenCodeCmdLogNotD

NULLC/CodeGen_X86.cpp:3087–3103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3085}
3086
3087void GenCodeCmdLogNotD(VMCmd cmd)
3088{
3089 (void)cmd;
3090 EMIT_COMMENT("LNOT double");
3091 EMIT_OP(o_fldz);
3092 EMIT_OP_RPTR(o_fcomp, sQWORD, rESP, 0);
3093 EMIT_OP_REG(o_pop, rEAX);
3094 EMIT_OP(o_fnstsw);
3095 EMIT_OP_REG_NUM(o_test, rEAX, 0x44);
3096 EMIT_OP_LABEL(o_jp, aluLabels);
3097 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 0, 1);
3098 EMIT_OP_LABEL(o_jmp, aluLabels + 1);
3099 EMIT_LABEL(aluLabels);
3100 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 0, 0);
3101 EMIT_LABEL(aluLabels + 1);
3102 aluLabels += 2;
3103}
3104
3105
3106void GenCodeCmdIncI(VMCmd cmd)

Callers

nothing calls this directly

Calls 8

EMIT_COMMENTFunction · 0.85
EMIT_OPFunction · 0.85
EMIT_OP_RPTRFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85
EMIT_OP_LABELFunction · 0.85
EMIT_OP_RPTR_NUMFunction · 0.85
EMIT_LABELFunction · 0.85

Tested by

no test coverage detected