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

Function GenCodeCmdGEqualL

NULLC/CodeGen_X86.cpp:2698–2717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2696}
2697
2698void GenCodeCmdGEqualL(VMCmd cmd)
2699{
2700 (void)cmd;
2701 EMIT_COMMENT("GEQUAL long");
2702 EMIT_OP_REG(o_pop, rEAX);
2703 EMIT_OP_REG(o_pop, rEDX);
2704 EMIT_OP_RPTR_REG(o_cmp, sDWORD, rESP, 4, rEDX);
2705 EMIT_OP_LABEL(o_jl, aluLabels);
2706 EMIT_OP_LABEL(o_jg, aluLabels + 1);
2707 EMIT_OP_RPTR_REG(o_cmp, sDWORD, rESP, 0, rEAX);
2708 EMIT_OP_LABEL(o_jb, aluLabels);
2709 EMIT_LABEL(aluLabels + 1);
2710 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 4, 1);
2711 EMIT_OP_LABEL(o_jmp, aluLabels + 2);
2712 EMIT_LABEL(aluLabels);
2713 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 4, 0);
2714 EMIT_LABEL(aluLabels + 2);
2715 EMIT_OP_REG(o_pop, rEAX);
2716 aluLabels += 3;
2717}
2718
2719void GenCodeCmdEqualL(VMCmd cmd)
2720{

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