2023-07-11 19:47:38

by Rémi Denis-Courmont

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

Le tiistaina 11. heinäkuuta 2023, 18.37.36 EEST Heiko Stuebner a écrit :
> From: Heiko Stuebner <[email protected]>
>
> 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/