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

Method FXRStoreOp

FEXCore/Source/Interface/Core/OpcodeDispatcher/Vector.cpp:2668–2676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2666}
2667
2668void OpDispatchBuilder::FXRStoreOp(OpcodeArgs) {
2669 Ref Mem = MakeSegmentAddress(Op, Op->Src[0]);
2670
2671 RestoreX87State(Mem);
2672 RestoreSSEState(Mem);
2673
2674 Ref MXCSR = _LoadMem(GPRClass, OpSize::i32Bit, Mem, Constant(24), OpSize::i32Bit, MEM_OFFSET_SXTX, 1);
2675 RestoreMXCSRState(MXCSR);
2676}
2677
2678void OpDispatchBuilder::XRstorOpImpl(OpcodeArgs) {
2679 const auto OpSize = GetGPROpSize();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected