[PATCH v7 0/8] riscv: optimize string functions and add kunit tests

Feng Jiang jiangfeng at kylinos.cn
Wed Feb 25 22:12:42 PST 2026


On 2026/1/30 10:50, Feng Jiang wrote:
> This series provides optimized implementations of strnlen(), strchr(),
> and strrchr() for the RISC-V architecture. The strnlen() implementation
> is derived from the existing optimized strlen(). For strchr() and
> strrchr(), the current versions use simple byte-by-byte assembly logic,
> which will serve as a baseline for future Zbb-based optimizations.

Hi Paul,

I'm very sorry, I dropped you from the 'To' list by mistake in v7.
Adding you back now for visibility.

-- 
With Best Regards,
Feng Jiang




More information about the linux-riscv mailing list