Re: [PATCH v4 10/17] target/riscv: Add Zvkned ISA extension support

2023-06-26 Thread Max Chou
On 2023/6/23 3:33 PM, Richard Henderson wrote: On 6/22/23 18:16, Max Chou wrote: --- a/target/riscv/vcrypto_helper.c +++ b/target/riscv/vcrypto_helper.c @@ -22,6 +22,7 @@   #include "qemu/bitops.h"   #include "qemu/bswap.h"   #include "cpu.h" +#include "crypto/aes.h"   #include "exec/memop.h"  

Re: [PATCH v4 10/17] target/riscv: Add Zvkned ISA extension support

2023-06-23 Thread Richard Henderson
On 6/22/23 18:16, Max Chou wrote: --- a/target/riscv/vcrypto_helper.c +++ b/target/riscv/vcrypto_helper.c @@ -22,6 +22,7 @@ #include "qemu/bitops.h" #include "qemu/bswap.h" #include "cpu.h" +#include "crypto/aes.h" #include "exec/memop.h" #include "exec/exec-all.h" #include "exec/help

Re: [PATCH v4 10/17] target/riscv: Add Zvkned ISA extension support

2023-06-22 Thread Daniel Henrique Barboza
On 6/22/23 13:16, Max Chou wrote: From: Nazar Kazakov This commit adds support for the Zvkned vector-crypto extension, which consists of the following instructions: * vaesef.[vv,vs] * vaesdf.[vv,vs] * vaesdm.[vv,vs] * vaesz.vs * vaesem.[vv,vs] * vaeskf1.vi * vaeskf2.vi Translation function

[PATCH v4 10/17] target/riscv: Add Zvkned ISA extension support

2023-06-22 Thread Max Chou
From: Nazar Kazakov This commit adds support for the Zvkned vector-crypto extension, which consists of the following instructions: * vaesef.[vv,vs] * vaesdf.[vv,vs] * vaesdm.[vv,vs] * vaesz.vs * vaesem.[vv,vs] * vaeskf1.vi * vaeskf2.vi Translation functions are defined in `target/riscv/insn_tra