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

Function GenCodeCmdGEqualD

NULLC/CodeGen_X86.cpp:2962–2978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2960}
2961
2962void GenCodeCmdGEqualD(VMCmd cmd)
2963{
2964 (void)cmd;
2965 EMIT_COMMENT("GEQUAL double");
2966 EMIT_OP_RPTR(o_fld, sQWORD, rESP, 0);
2967 EMIT_OP_RPTR(o_fcomp, sQWORD, rESP, 8);
2968 EMIT_OP_REG_NUM(o_add, rESP, 12);
2969 EMIT_OP(o_fnstsw);
2970 EMIT_OP_REG_NUM(o_test, rEAX, 0x41);
2971 EMIT_OP_LABEL(o_jp, aluLabels);
2972 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 0, 1);
2973 EMIT_OP_LABEL(o_jmp, aluLabels + 1);
2974 EMIT_LABEL(aluLabels);
2975 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 0, 0);
2976 EMIT_LABEL(aluLabels + 1);
2977 aluLabels += 2;
2978}
2979
2980void GenCodeCmdEqualD(VMCmd cmd)
2981{

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected