qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 01/12] util: Add RISC-V vector extension probe in cpuinfo


From: Richard Henderson
Subject: Re: [PATCH v4 01/12] util: Add RISC-V vector extension probe in cpuinfo
Date: Wed, 18 Sep 2024 12:14:03 +0200
User-agent: Mozilla Thunderbird

On 9/18/24 07:14, LIU Zhiwei wrote:

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.

Ok.  That is a better explanation for the patch description.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]