mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-08 07:06:28 +00:00
A64: Implement AESE
This commit is contained in:
@@ -8,6 +8,16 @@
|
||||
|
||||
namespace Dynarmic::A64 {
|
||||
|
||||
bool TranslatorVisitor::AESE(Vec Vn, Vec Vd) {
|
||||
const IR::U128 operand1 = ir.GetQ(Vd);
|
||||
const IR::U128 operand2 = ir.GetQ(Vn);
|
||||
|
||||
const IR::U128 result = ir.AESEncrypt(ir.VectorEor(operand1, operand2));
|
||||
|
||||
ir.SetQ(Vd, result);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TranslatorVisitor::AESIMC(Vec Vn, Vec Vd) {
|
||||
const IR::U128 operand = ir.GetQ(Vn);
|
||||
const IR::U128 result = ir.AESInverseMixColumns(operand);
|
||||
|
||||
Reference in New Issue
Block a user