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

Function GenCodeCmdNEqualL

NULLC/CodeGen_X86.cpp:2738–2756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2736}
2737
2738void GenCodeCmdNEqualL(VMCmd cmd)
2739{
2740 (void)cmd;
2741 EMIT_COMMENT("NEQUAL long");
2742 EMIT_OP_REG(o_pop, rEAX);
2743 EMIT_OP_REG(o_pop, rEDX);
2744 EMIT_OP_RPTR_REG(o_cmp, sDWORD, rESP, 4, rEDX);
2745 EMIT_OP_LABEL(o_jne, aluLabels + 1);
2746 EMIT_OP_RPTR_REG(o_cmp, sDWORD, rESP, 0, rEAX);
2747 EMIT_OP_LABEL(o_je, aluLabels);
2748 EMIT_LABEL(aluLabels + 1);
2749 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 4, 1);
2750 EMIT_OP_LABEL(o_jmp, aluLabels + 2);
2751 EMIT_LABEL(aluLabels);
2752 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 4, 0);
2753 EMIT_LABEL(aluLabels + 2);
2754 EMIT_OP_REG(o_pop, rEAX);
2755 aluLabels += 3;
2756}
2757
2758void GenCodeCmdShlL(VMCmd cmd)
2759{

Callers

nothing calls this directly

Calls 6

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_RPTR_REGFunction · 0.85
EMIT_OP_LABELFunction · 0.85
EMIT_LABELFunction · 0.85
EMIT_OP_RPTR_NUMFunction · 0.85

Tested by

no test coverage detected