A64: Implement AESD

This commit is contained in:
Lioncash 2018-02-03 17:20:21 -05:00 committed by MerryMage
parent ccef85dbb7
commit 40614202e7
8 changed files with 92 additions and 10 deletions

View file

@ -41,6 +41,12 @@ static void EmitAESFunction(std::array<Argument, 3> args, EmitContext& ctx, Bloc
ctx.reg_alloc.DefineValue(inst, xmm0);
}
void EmitX64::EmitAESDecryptSingleRound(EmitContext& ctx, IR::Inst* inst) {
auto args = ctx.reg_alloc.GetArgumentInfo(inst);
EmitAESFunction(args, ctx, code, inst, Common::DecryptSingleRound);
}
void EmitX64::EmitAESEncryptSingleRound(EmitContext& ctx, IR::Inst* inst) {
auto args = ctx.reg_alloc.GetArgumentInfo(inst);