[PATCH v5 1/1] eal/riscv: optimize rte_memcpy with vector and zicbop extensions

sunyuechi sunyuechi at iscas.ac.cn
Mon Nov 17 05:11:54 CET 2025


>> This patch uses RISC-V vector instructions and zicbop prefetching to
>> optimize memory copies for 129~1600 byte ranges.
>>
>> Signed-off-by: Qiguo Chen <chen.qiguo at zte.com.cn>
>> ---
> Is there any possibility of build environment being newer than
> the run time? The Intel builds already have to deal with that problem.

Yes, it's best to use hwprobe for runtime detection, but the hwprobe 
detection for the zicbop extension hasn't been merged into the kernel yet.
I'd like to refer to how other projects handle RISC-V integration; 
disabling it by default at compile time should also be acceptable.



More information about the dev mailing list