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

Method PHSUB

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

Source from the content-addressed store, hash-verified

3414
3415template<IR::OpSize ElementSize>
3416void OpDispatchBuilder::PHSUB(OpcodeArgs) {
3417 Ref Src1 = LoadSource(FPRClass, Op, Op->Dest, Op->Flags);
3418 Ref Src2 = LoadSource(FPRClass, Op, Op->Src[0], Op->Flags);
3419 Ref Result = PHSUBOpImpl(OpSizeFromSrc(Op), Src1, Src2, ElementSize);
3420 StoreResult(FPRClass, Op, Result, OpSize::iInvalid);
3421}
3422
3423template void OpDispatchBuilder::PHSUB<OpSize::i16Bit>(OpcodeArgs);
3424template void OpDispatchBuilder::PHSUB<OpSize::i32Bit>(OpcodeArgs);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected