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

Method AESEncOp

FEXCore/Source/Interface/Core/OpcodeDispatcher/Crypto.cpp:193–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void OpDispatchBuilder::AESEncOp(OpcodeArgs) {
194 if (!CTX->HostFeatures.SupportsAES) {
195 UnimplementedOp(Op);
196 return;
197 }
198 Ref Dest = LoadSource(FPRClass, Op, Op->Dest, Op->Flags);
199 Ref Src = LoadSource(FPRClass, Op, Op->Src[0], Op->Flags);
200 Ref Result = _VAESEnc(OpSize::i128Bit, Dest, Src, LoadZeroVector(OpSize::i128Bit));
201 StoreResult(FPRClass, Op, Result, OpSize::iInvalid);
202}
203
204void OpDispatchBuilder::VAESEncOp(OpcodeArgs) {
205 const auto DstSize = OpSizeFromDst(Op);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected