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

Method GetDstSize

FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp:3957–3961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3955}
3956
3957uint8_t OpDispatchBuilder::GetDstSize(X86Tables::DecodedOp Op) const {
3958 const uint32_t DstSizeFlag = X86Tables::DecodeFlags::GetSizeDstFlags(Op->Flags);
3959 LOGMAN_THROW_A_FMT(DstSizeFlag != 0 && DstSizeFlag != X86Tables::DecodeFlags::SIZE_MASK, "Invalid destination size for op");
3960 return 1u << (DstSizeFlag - 1);
3961}
3962
3963uint8_t OpDispatchBuilder::GetSrcSize(X86Tables::DecodedOp Op) const {
3964 const uint32_t SrcSizeFlag = X86Tables::DecodeFlags::GetSizeSrcFlags(Op->Flags);

Callers

nothing calls this directly

Calls 1

GetSizeDstFlagsFunction · 0.85

Tested by

no test coverage detected