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

Function GenCodeCmdDecD

NULLC/CodeGen_X86.cpp:3145–3155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3143}
3144
3145void GenCodeCmdDecD(VMCmd cmd)
3146{
3147 (void)cmd;
3148 EMIT_COMMENT("DEC double");
3149 EMIT_OP_RPTR(o_fld, sQWORD, rESP, 0);
3150 EMIT_OP_REG_NUM(o_add, rESP, 8);
3151 EMIT_OP(o_fld1);
3152 EMIT_OP(o_fsubp);
3153 EMIT_OP_REG_NUM(o_sub, rESP, 8);
3154 EMIT_OP_RPTR(o_fstp, sQWORD, rESP, 0);
3155}
3156
3157void GenCodeCmdDecL(VMCmd cmd)
3158{

Callers

nothing calls this directly

Calls 4

EMIT_COMMENTFunction · 0.85
EMIT_OP_RPTRFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85
EMIT_OPFunction · 0.85

Tested by

no test coverage detected