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

Function GenCodeCmdLessD

NULLC/CodeGen_X86.cpp:2908–2924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2906}
2907
2908void GenCodeCmdLessD(VMCmd cmd)
2909{
2910 (void)cmd;
2911 EMIT_COMMENT("LESS double");
2912 EMIT_OP_RPTR(o_fld, sQWORD, rESP, 0);
2913 EMIT_OP_RPTR(o_fcomp, sQWORD, rESP, 8);
2914 EMIT_OP_REG_NUM(o_add, rESP, 12);
2915 EMIT_OP(o_fnstsw);
2916 EMIT_OP_REG_NUM(o_test, rEAX, 0x41);
2917 EMIT_OP_LABEL(o_jne, aluLabels);
2918 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 0, 1);
2919 EMIT_OP_LABEL(o_jmp, aluLabels + 1);
2920 EMIT_LABEL(aluLabels);
2921 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 0, 0);
2922 EMIT_LABEL(aluLabels + 1);
2923 aluLabels += 2;
2924}
2925
2926void GenCodeCmdGreaterD(VMCmd cmd)
2927{

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