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

Method CQOOp

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

Source from the content-addressed store, hash-verified

1104}
1105
1106void OpDispatchBuilder::CQOOp(OpcodeArgs) {
1107 Ref Src = LoadSource(GPRClass, Op, Op->Src[0], Op->Flags, {.AllowUpperGarbage = true});
1108 auto Size = OpSizeFromSrc(Op);
1109 Ref Upper = _Sbfe(std::max(OpSize::i32Bit, Size), 1, GetSrcBitSize(Op) - 1, Src);
1110
1111 StoreResult(GPRClass, Op, Upper, OpSize::iInvalid);
1112}
1113
1114void OpDispatchBuilder::XCHGOp(OpcodeArgs) {
1115 // Load both the source and the destination

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected