[PATCH v4 05/12] RISC-V: crypto: update perl include with helpers for vector (crypto) instructions

Rémi Denis-Courmont remi at remlab.net
Tue Jul 11 11:04:57 PDT 2023


Le tiistaina 11. heinäkuuta 2023, 18.37.36 EEST Heiko Stuebner a écrit :
> From: Heiko Stuebner <heiko.stuebner at vrull.eu>
> 
> The openSSL scripts use a number of helpers for handling vector
> instructions and instructions from the vector-crypto-extensions.

Uh but the kernel RVV code requires an assembler that supports the `.option 
arch` directive and the V extension anyway.

Is there a need to wrap vector load/store and ALU instructions from the Vector 
spec? This trick should only be necessary for the Zvk*-specific stuff, AFAICT.

(Also FWIW, this can be done directly with .macro inside a header file, without 
involving Perl.)

-- 
Rémi Denis-Courmont
http://www.remlab.net/






More information about the linux-riscv mailing list