ir: Add an opcode for doing an SM4 lookup table query

This commit is contained in:
Lioncash 2018-05-07 08:29:12 -04:00 committed by MerryMage
parent 27a6d5f6ce
commit b312d28295
7 changed files with 106 additions and 0 deletions

View file

@ -202,6 +202,10 @@ OPCODE(AESDecryptSingleRound, T::U128, T::U128
OPCODE(AESEncryptSingleRound, T::U128, T::U128 )
OPCODE(AESInverseMixColumns, T::U128, T::U128 )
OPCODE(AESMixColumns, T::U128, T::U128 )
// SM4 instructions
OPCODE(SM4AccessSubstitutionBox, T::U8, T::U8 )
// Vector instructions
OPCODE(VectorGetElement8, T::U8, T::U128, T::U8 )
OPCODE(VectorGetElement16, T::U16, T::U128, T::U8 )