MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / writeTopDouble

Function writeTopDouble

source/test/testFPU.cpp:187–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void writeTopDouble(int index, bool pop = false) {
188 pushCode8(0xdd);
189 pushCode8(rm(true, pop ? 3 : 2, cpu->big ? 5 : 6));
190 if (cpu->big)
191 pushCode32(4 * index);
192 else
193 pushCode16(4 * index);
194}
195
196void writeF(float f, int index) {
197 struct FPU_Float value;

Callers 1

doFPREMnearestFunction · 0.85

Calls 4

pushCode8Function · 0.85
rmFunction · 0.85
pushCode32Function · 0.85
pushCode16Function · 0.85

Tested by

no test coverage detected