diff options
author | Max Chou <max.chou@sifive.com> | 2023-07-12 00:59:14 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-09-11 11:45:55 +1000 |
commit | 8b045ff45420d12bdbd9868e83559ffaaf059144 (patch) | |
tree | 9f164209bada8fdd12d6a6129deb0821c79727f5 /stubs/error-printf.c | |
parent | f5f3a9152ae1242f5d1113852aa97d13b382815b (diff) | |
download | qemu-8b045ff45420d12bdbd9868e83559ffaaf059144.zip qemu-8b045ff45420d12bdbd9868e83559ffaaf059144.tar.gz qemu-8b045ff45420d12bdbd9868e83559ffaaf059144.tar.bz2 |
target/riscv: Add Zvksed ISA extension support
This commit adds support for the Zvksed vector-crypto extension, which
consists of the following instructions:
* vsm4k.vi
* vsm4r.[vv,vs]
Translation functions are defined in
`target/riscv/insn_trans/trans_rvvk.c.inc` and helpers are defined in
`target/riscv/vcrypto_helper.c`.
Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
[lawrence.hunter@codethink.co.uk: Moved SM4 functions from
crypto_helper.c to vcrypto_helper.c]
[nazar.kazakov@codethink.co.uk: Added alignment checks, refactored code to
use macros, and minor style changes]
Signed-off-by: Max Chou <max.chou@sifive.com>
Message-ID: <20230711165917.2629866-16-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'stubs/error-printf.c')
0 files changed, 0 insertions, 0 deletions