mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-07 02:42:58 +00:00
ir: Add an opcode for doing an SM4 lookup table query
This commit is contained in:
@@ -683,6 +683,10 @@ U128 IREmitter::AESMixColumns(const U128& a) {
|
||||
return Inst<U128>(Opcode::AESMixColumns, a);
|
||||
}
|
||||
|
||||
U8 IREmitter::SM4AccessSubstitutionBox(const U8& a) {
|
||||
return Inst<U8>(Opcode::SM4AccessSubstitutionBox, a);
|
||||
}
|
||||
|
||||
UAny IREmitter::VectorGetElement(size_t esize, const U128& a, size_t index) {
|
||||
ASSERT_MSG(esize * index < 128, "Invalid index");
|
||||
switch (esize) {
|
||||
|
||||
Reference in New Issue
Block a user