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

Function GenCodeCmdEqualL

NULLC/CodeGen_X86.cpp:2719–2736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2717}
2718
2719void GenCodeCmdEqualL(VMCmd cmd)
2720{
2721 (void)cmd;
2722 EMIT_COMMENT("EQUAL long");
2723 EMIT_OP_REG(o_pop, rEAX);
2724 EMIT_OP_REG(o_pop, rEDX);
2725 EMIT_OP_RPTR_REG(o_cmp, sDWORD, rESP, 4, rEDX);
2726 EMIT_OP_LABEL(o_jne, aluLabels);
2727 EMIT_OP_RPTR_REG(o_cmp, sDWORD, rESP, 0, rEAX);
2728 EMIT_OP_LABEL(o_jne, aluLabels);
2729 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 4, 1);
2730 EMIT_OP_LABEL(o_jmp, aluLabels + 1);
2731 EMIT_LABEL(aluLabels);
2732 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 4, 0);
2733 EMIT_LABEL(aluLabels + 1);
2734 EMIT_OP_REG(o_pop, rEAX);
2735 aluLabels += 2;
2736}
2737
2738void GenCodeCmdNEqualL(VMCmd cmd)
2739{

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_OP_RPTR_NUMFunction · 0.85
EMIT_LABELFunction · 0.85

Tested by

no test coverage detected