Re: [PATCH net-next v2] powerpc/net: Implement powerpc specific csum_shift() to remove branch

From: patchwork-bot+netdevbpf
Date: Fri Mar 11 2022 - 06:00:24 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 8 Mar 2022 17:12:10 +0100 you wrote:
> Today's implementation of csum_shift() leads to branching based on
> parity of 'offset'
>
> 000002f8 <csum_block_add>:
> 2f8: 70 a5 00 01 andi. r5,r5,1
> 2fc: 41 a2 00 08 beq 304 <csum_block_add+0xc>
> 300: 54 84 c0 3e rotlwi r4,r4,24
> 304: 7c 63 20 14 addc r3,r3,r4
> 308: 7c 63 01 94 addze r3,r3
> 30c: 4e 80 00 20 blr
>
> [...]

Here is the summary with links:
- [net-next,v2] powerpc/net: Implement powerpc specific csum_shift() to remove branch
https://git.kernel.org/netdev/net-next/c/3af722cb735d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html