On 2024/9/12 2:34, Richard Henderson wrote:
On 9/11/24 06:26, LIU Zhiwei wrote:
While the compiler doesn't support RISCV_HWPROBE_EXT_ZVE64X,
we use RISCV_HWPROBE_IMA_V instead.
Language is incorrect here. The compiler has nothing to do with it.
Perhaps "If the installed kernel header files do not support...".
OK. Thanks.
However, if you use only RISCV_HWPROBE_IMA_V, then you do not have any of the additional
guarantees of Zve64x.
IMHO, RISCV_HWPROBE_IMA_V is more strictly constrainted than
RISCV_HWPROBE_EXT_ZVE64X.
At least in current QEMU implemenation, the V vector extension depends on the Zve64d
extension.