Open lianakoleva opened 1 year ago
rv64imafdc
does not include any crypto/bitmanip instructions indeed. You may want to try rv64imafdc_zbkb
.
I was able to resolve this by getting a fresh install of GCC 13.2, Spike master branch, and adding extensions in -march
as is conventional. I think the set-up instructions in this repo are out-of-date.
HI @lianakoleva , thank you for the follow-up.
Could you leave the issue open until we fix the repo ?
When I run
make all CONFIG=rv64-baseline
, I getError: unrecognized opcode `roriw t1,t1,t13`
, which is part of Zbkb extension. When I look inriscv-crypto/benchmarks/config/rv64-zscrypto.conf
, the architecture doesn't seem to include the Zbkb extension: https://github.com/riscv/riscv-crypto/blob/e2dd7d98b7f34d477e38cb5fd7a3af4379525189/benchmarks/config/rv64-zscrypto.conf#L24 This architecture is then passed to the compiler.Broadly, I am confused on how to get things running initially. I installed everything as directed in
riscv-crypto/tools/README.md
. The resulting toolchain version isI haven't had any success getting cryptography instructions compiled. Any help appreciated!