diff --git a/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp b/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp index 7b492e51e..de03a1362 100644 --- a/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp +++ b/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp @@ -6168,7 +6168,7 @@ void OpDispatchBuilder::InstallHostSpecificOpcodeHandlers() { {OPD(3, 0b01, 0x62), 1, &OpDispatchBuilder::VPCMPISTRMOp}, {OPD(3, 0b01, 0x63), 1, &OpDispatchBuilder::VPCMPISTRIOp}, - {OPD(3, 0b01, 0xDF), 1, &OpDispatchBuilder::VAESKeyGenAssistOp}, + {OPD(3, 0b01, 0xDF), 1, &OpDispatchBuilder::AESKeyGenAssist}, }; #undef OPD diff --git a/FEXCore/Source/Interface/Core/OpcodeDispatcher.h b/FEXCore/Source/Interface/Core/OpcodeDispatcher.h index fd4d22f30..e718f3871 100644 --- a/FEXCore/Source/Interface/Core/OpcodeDispatcher.h +++ b/FEXCore/Source/Interface/Core/OpcodeDispatcher.h @@ -446,7 +446,6 @@ public: void VAESEncOp(OpcodeArgs); void VAESEncLastOp(OpcodeArgs); void VAESIMCOp(OpcodeArgs); - void VAESKeyGenAssistOp(OpcodeArgs); void VANDNOp(OpcodeArgs); diff --git a/FEXCore/Source/Interface/Core/OpcodeDispatcher/Crypto.cpp b/FEXCore/Source/Interface/Core/OpcodeDispatcher/Crypto.cpp index 939467fc2..5a0c84f80 100644 --- a/FEXCore/Source/Interface/Core/OpcodeDispatcher/Crypto.cpp +++ b/FEXCore/Source/Interface/Core/OpcodeDispatcher/Crypto.cpp @@ -383,12 +383,6 @@ void OpDispatchBuilder::AESKeyGenAssist(OpcodeArgs) { StoreResult(FPRClass, Op, Result, -1); } -void OpDispatchBuilder::VAESKeyGenAssistOp(OpcodeArgs) { - OrderedNode *Assist = AESKeyGenAssistImpl(Op); - OrderedNode *Result = _VMov(16, Assist); - StoreResult(FPRClass, Op, Result, -1); -} - void OpDispatchBuilder::PCLMULQDQOp(OpcodeArgs) { LOGMAN_THROW_A_FMT(Op->Src[1].IsLiteral(), "Selector needs to be literal here"); diff --git a/unittests/InstructionCountCI/VEX_map3.json b/unittests/InstructionCountCI/VEX_map3.json index 423e8db1c..d612efd29 100644 --- a/unittests/InstructionCountCI/VEX_map3.json +++ b/unittests/InstructionCountCI/VEX_map3.json @@ -5050,7 +5050,7 @@ ] }, "vaeskeygenassist xmm0, xmm1, 0": { - "ExpectedInstructionCount": 14, + "ExpectedInstructionCount": 13, "Optimal": "No", "Comment": [ "Map 3 0b01 0xdf 128-bit" @@ -5068,12 +5068,11 @@ "unallocated (Unallocated)", "unallocated (Unallocated)", "mov v4.16b, v4.16b", - "mov v4.16b, v4.16b", "mov z16.d, p7/m, z4.d" ] }, "vaeskeygenassist xmm0, xmm1, 0xFF": { - "ExpectedInstructionCount": 17, + "ExpectedInstructionCount": 16, "Optimal": "No", "Comment": [ "Map 3 0b01 0xdf 128-bit" @@ -5094,7 +5093,6 @@ "unallocated (Unallocated)", "unallocated (Unallocated)", "mov v4.16b, v4.16b", - "mov v4.16b, v4.16b", "mov z16.d, p7/m, z4.d" ] },