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

Method GetMXCSR

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

Source from the content-addressed store, hash-verified

2658}
2659
2660Ref OpDispatchBuilder::GetMXCSR() {
2661 Ref MXCSR = _LoadContext(OpSize::i32Bit, GPRClass, offsetof(FEXCore::Core::CPUState, mxcsr));
2662 // Mask out unsupported bits
2663 // Keeps FZ, RC, exception masks, and DAZ
2664 MXCSR = _And(OpSize::i32Bit, MXCSR, Constant(0xFFC0));
2665 return MXCSR;
2666}
2667
2668void OpDispatchBuilder::FXRStoreOp(OpcodeArgs) {
2669 Ref Mem = MakeSegmentAddress(Op, Op->Src[0]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected