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

Method FST

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

Source from the content-addressed store, hash-verified

126}
127
128void OpDispatchBuilder::FST(OpcodeArgs, IR::OpSize Width) {
129 const auto SourceSize = ReducedPrecisionMode ? OpSize::i64Bit : OpSize::i128Bit;
130 AddressMode A = DecodeAddress(Op, Op->Dest, MemoryAccessType::DEFAULT, false);
131
132 A = SelectAddressMode(this, A, GetGPROpSize(), CTX->HostFeatures.SupportsTSOImm9, false, false, Width);
133 _StoreStackMem(SourceSize, Width, A.Base, A.Index, OpSize::iInvalid, A.IndexType, A.IndexScale, /*Float=*/true);
134
135 if (Op->TableInfo->Flags & X86Tables::InstFlags::FLAGS_POP) {
136 _PopStackDestroy();
137 }
138}
139
140void OpDispatchBuilder::FSTToStack(OpcodeArgs) {
141 const uint8_t Offset = Op->OP & 7;

Callers

nothing calls this directly

Calls 1

SelectAddressModeFunction · 0.85

Tested by

no test coverage detected