riscv / riscv-crypto

RISC-V cryptography extensions standardisation work.
https://wiki.riscv.org/x/MVcF
Creative Commons Attribution 4.0 International
361 stars 83 forks source link

[benchmark]: Error unrecognized opcode greview asm #372

Closed lhtin closed 7 months ago

lhtin commented 11 months ago

When I build benchmark with make all CONFIG=rv64-baseline -j 50, there are some errors. I didn't find which specification this instruction is defined inside. Or am I supposed to use a specific GCC?:

benchmarks/rv64-baseline/include/riscvcrypto/share/rvintrin.h:151: Error: unrecognized opcode `greviw t5,t5,24'
...

Update: I looked for the bitmanip 1.0 specification and it doesn't have this instruction in it, but the bitmanip 0.9 specification does, and it looks like the benchmark hasn't been updated.

mjosaarinen commented 7 months ago

You're probably right. However this code is not being maintained -- it was a part of the PoC development effort, but the scalar extension was approved in 2022.