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

Function GenCodeCmdPushFloat

NULLC/CodeGen_X86.cpp:1304–1314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1302}
1303
1304void GenCodeCmdPushFloat(VMCmd cmd)
1305{
1306 EMIT_COMMENT("PUSH float");
1307
1308 EMIT_OP_REG_NUM(o_sub, rESP, 8);
1309 if(cmd.flag == ADDRESS_ABOLUTE)
1310 EMIT_OP_ADDR(o_fld, sDWORD, cmd.argument+paramBase);
1311 else
1312 EMIT_OP_RPTR(o_fld, sDWORD, rEBP, cmd.argument+paramBase);
1313 EMIT_OP_RPTR(o_fstp, sQWORD, rESP, 0);
1314}
1315
1316void GenCodeCmdPushDorL(VMCmd cmd)
1317{

Callers

nothing calls this directly

Calls 4

EMIT_COMMENTFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85
EMIT_OP_ADDRFunction · 0.85
EMIT_OP_RPTRFunction · 0.85

Tested by

no test coverage detected