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

Method ADDSUBPOp

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

Source from the content-addressed store, hash-verified

3034
3035template<IR::OpSize ElementSize>
3036void OpDispatchBuilder::ADDSUBPOp(OpcodeArgs) {
3037 Ref Dest = LoadSource(FPRClass, Op, Op->Dest, Op->Flags);
3038 Ref Src = LoadSource(FPRClass, Op, Op->Src[0], Op->Flags);
3039 Ref Result = ADDSUBPOpImpl(OpSizeFromSrc(Op), ElementSize, Dest, Src);
3040
3041 StoreResult(FPRClass, Op, Result, OpSize::iInvalid);
3042}
3043
3044template void OpDispatchBuilder::ADDSUBPOp<OpSize::i32Bit>(OpcodeArgs);
3045template void OpDispatchBuilder::ADDSUBPOp<OpSize::i64Bit>(OpcodeArgs);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected