OpcodeDispatcher: Remove unnecessary move from VPHMINPOSUW

We already do a zero-extend if necessary in StoreResult.

This also lets us unify both the SSE and AVX handling code.
This commit is contained in:
Lioncache committed 2023-08-22 20:59:56 -04:00
1 parent ed7f1b017d
commit fa17d9fae9
4 files changed
+2 -11

No files matched your search

@@ -6103,7 +6103,7 @@ void OpDispatchBuilder::InstallHostSpecificOpcodeHandlers() {
{OPD(2, 0b01, 0x3F), 1, &OpDispatchBuilder::AVXVectorALUOp<IR::OP_VUMAX, 4>},
{OPD(2, 0b01, 0x40), 1, &OpDispatchBuilder::AVXVectorALUOp<IR::OP_VSMUL, 4>},
{OPD(2, 0b01, 0x41), 1, &OpDispatchBuilder::VPHMINPOSUWOp},
{OPD(2, 0b01, 0x41), 1, &OpDispatchBuilder::PHMINPOSUWOp},
{OPD(2, 0b01, 0x45), 1, &OpDispatchBuilder::VPSRLVOp},
{OPD(2, 0b01, 0x46), 1, &OpDispatchBuilder::VPSRAVDOp},
{OPD(2, 0b01, 0x47), 1, &OpDispatchBuilder::VPSLLVOp},