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

Function GenCodeCmdNegD

NULLC/CodeGen_X86.cpp:3076–3085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3074
3075
3076void GenCodeCmdNegD(VMCmd cmd)
3077{
3078 (void)cmd;
3079 EMIT_COMMENT("NEG double");
3080 EMIT_OP_RPTR(o_fld, sQWORD, rESP, 0);
3081 EMIT_OP_REG_NUM(o_add, rESP, 8);
3082 EMIT_OP(o_fchs);
3083 EMIT_OP_REG_NUM(o_sub, rESP, 8);
3084 EMIT_OP_RPTR(o_fstp, sQWORD, rESP, 0);
3085}
3086
3087void GenCodeCmdLogNotD(VMCmd cmd)
3088{

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