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

Method FLDF64

FEXCore/Source/Interface/Core/OpcodeDispatcher/X87F64.cpp:61–72  ·  view source on GitHub ↗

F64 ops Float load op with memory operand

Source from the content-addressed store, hash-verified

59// F64 ops
60// Float load op with memory operand
61void OpDispatchBuilder::FLDF64(OpcodeArgs, IR::OpSize Width) {
62 const auto ReadWidth = (Width == OpSize::f80Bit) ? OpSize::i128Bit : Width;
63 Ref Data = LoadSource_WithOpSize(FPRClass, Op, Op->Src[0], ReadWidth, Op->Flags);
64 // Convert to 64bit float
65 Ref ConvertedData = Data;
66 if (Width == OpSize::i32Bit) {
67 ConvertedData = _Float_FToF(OpSize::i64Bit, OpSize::i32Bit, Data);
68 } else if (Width == OpSize::f80Bit) {
69 ConvertedData = _F80CVT(OpSize::i64Bit, Data);
70 }
71 _PushStack(ConvertedData, Data, ReadWidth, true);
72}
73
74void OpDispatchBuilder::FBLDF64(OpcodeArgs) {
75 // Read from memory

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected