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

Function GenCodeCmdNEqualD

NULLC/CodeGen_X86.cpp:2998–3014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2996}
2997
2998void GenCodeCmdNEqualD(VMCmd cmd)
2999{
3000 (void)cmd;
3001 EMIT_COMMENT("NEQUAL double");
3002 EMIT_OP_RPTR(o_fld, sQWORD, rESP, 0);
3003 EMIT_OP_RPTR(o_fcomp, sQWORD, rESP, 8);
3004 EMIT_OP_REG_NUM(o_add, rESP, 12);
3005 EMIT_OP(o_fnstsw);
3006 EMIT_OP_REG_NUM(o_test, rEAX, 0x44);
3007 EMIT_OP_LABEL(o_jnp, aluLabels);
3008 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 0, 1);
3009 EMIT_OP_LABEL(o_jmp, aluLabels + 1);
3010 EMIT_LABEL(aluLabels);
3011 EMIT_OP_RPTR_NUM(o_mov, sDWORD, rESP, 0, 0);
3012 EMIT_LABEL(aluLabels + 1);
3013 aluLabels += 2;
3014}
3015
3016
3017void GenCodeCmdNeg(VMCmd cmd)

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