mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-12-13 17:15:41 +00:00
AVX128: Implement support for vphminposuw
Reuses the non-AVX implementation since it only operates on 128-bits.
This commit is contained in:
parent
8e32763ada
commit
cebb032bd3
@ -1135,6 +1135,8 @@ public:
|
||||
void AVX128_VPCMPISTRI(OpcodeArgs);
|
||||
void AVX128_VPCMPISTRM(OpcodeArgs);
|
||||
|
||||
void AVX128_PHMINPOSUW(OpcodeArgs);
|
||||
|
||||
// End of AVX 128-bit implementation
|
||||
|
||||
void InvalidOp(OpcodeArgs);
|
||||
|
@ -312,7 +312,7 @@ void OpDispatchBuilder::InstallAVX128Handlers() {
|
||||
{OPD(2, 0b01, 0x3F), 1, &OpDispatchBuilder::AVX128_VectorALU<IR::OP_VUMAX, 4>},
|
||||
|
||||
{OPD(2, 0b01, 0x40), 1, &OpDispatchBuilder::AVX128_VectorALU<IR::OP_VMUL, 4>},
|
||||
// TODO: {OPD(2, 0b01, 0x41), 1, &OpDispatchBuilder::PHMINPOSUWOp},
|
||||
{OPD(2, 0b01, 0x41), 1, &OpDispatchBuilder::AVX128_PHMINPOSUW},
|
||||
{OPD(2, 0b01, 0x45), 1, &OpDispatchBuilder::AVX128_VPSRLV},
|
||||
{OPD(2, 0b01, 0x46), 1, &OpDispatchBuilder::AVX128_VPSRAVD},
|
||||
{OPD(2, 0b01, 0x47), 1, &OpDispatchBuilder::AVX128_VPSLLV},
|
||||
@ -1682,4 +1682,9 @@ void OpDispatchBuilder::AVX128_VPCMPISTRM(OpcodeArgs) {
|
||||
AVX128_StoreXMMRegister(0, LoadZeroVector(OpSize::i128Bit), true);
|
||||
}
|
||||
|
||||
void OpDispatchBuilder::AVX128_PHMINPOSUW(OpcodeArgs) {
|
||||
Ref Result = PHMINPOSUWOpImpl(Op);
|
||||
AVX128_StoreResult_WithOpSize(Op, Op->Dest, AVX128_Zext(Result));
|
||||
}
|
||||
|
||||
} // namespace FEXCore::IR
|
||||
|
Loading…
Reference in New Issue
Block a user