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

Function GenCodeCmdAddD

NULLC/CodeGen_X86.cpp:2841–2850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2839
2840
2841void GenCodeCmdAddD(VMCmd cmd)
2842{
2843 (void)cmd;
2844 EMIT_COMMENT("ADD double");
2845 EMIT_OP_RPTR(o_fld, sQWORD, rESP, 8);
2846 EMIT_OP_RPTR(o_fadd, sQWORD, rESP, 0);
2847 EMIT_OP_REG_NUM(o_add, rESP, 16);
2848 EMIT_OP_REG_NUM(o_sub, rESP, 8);
2849 EMIT_OP_RPTR(o_fstp, sQWORD, rESP, 0);
2850}
2851
2852void GenCodeCmdSubD(VMCmd cmd)
2853{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_RPTRFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85

Tested by

no test coverage detected