[PATCH] riscv, lib: Fix Zbb strncmp
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Tue Feb 28 19:20:17 PST 2023
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at rivosinc.com>:
On Tue, 28 Feb 2023 19:42:10 +0100 you wrote:
> From: Björn Töpel <bjorn at rivosinc.com>
>
> The Zbb optimized strncmp has two parts; a fast path that does XLEN/8B
> per iteration, and a slow that does one byte per iteration.
>
> The idea is to compare aligned XLEN chunks for most of strings, and do
> the remainder tail in the slow path.
>
> [...]
Here is the summary with links:
- riscv, lib: Fix Zbb strncmp
https://git.kernel.org/riscv/c/81a1dd10b072
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list