MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / GetX87Top

Method GetX87Top

FEXCore/Source/Interface/Core/OpcodeDispatcher/X87.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#define OpcodeArgs [[maybe_unused]] FEXCore::X86Tables::DecodedOp Op
27
28Ref OpDispatchBuilder::GetX87Top() {
29 // Yes, we are storing 3 bits in a single flag register.
30 // Deal with it
31 return _LoadContext(OpSize::i8Bit, GPRClass, offsetof(FEXCore::Core::CPUState, flags) + FEXCore::X86State::X87FLAG_TOP_LOC);
32}
33
34void OpDispatchBuilder::SetX87FTW(Ref FTW) {
35 // For the output, we want a 1-bit for each pair not equal to 11 (Empty).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected