Skip to content
Snippets Groups Projects
Commit e13c7d3b authored by Lawrence Hunter's avatar Lawrence Hunter Committed by Alistair Francis
Browse files

target/riscv: Add Zvbc ISA extension support


This commit adds support for the Zvbc vector-crypto extension, which
consists of the following instructions:

* vclmulh.[vx,vv]
* vclmul.[vx,vv]

Translation functions are defined in
`target/riscv/insn_trans/trans_rvvk.c.inc` and helpers are defined in
`target/riscv/vcrypto_helper.c`.

Co-authored-by: default avatarNazar Kazakov <nazar.kazakov@codethink.co.uk>
Co-authored-by: default avatarMax Chou <max.chou@sifive.com>
Signed-off-by: default avatarNazar Kazakov <nazar.kazakov@codethink.co.uk>
Signed-off-by: default avatarLawrence Hunter <lawrence.hunter@codethink.co.uk>
Signed-off-by: default avatarMax Chou <max.chou@sifive.com>
[max.chou@sifive.com: Exposed x-zvbc property]
Message-ID: <20230711165917.2629866-5-max.chou@sifive.com>
Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 922f8735
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment