]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: Optimise __csum_partial()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 24 May 2018 11:22:27 +0000 (11:22 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 14:39:19 +0000 (00:39 +1000)
commit48176d0b6f0166237c7163060c3660c752bce6c7
tree4c4b689c05300a7fdf7e1494c1f72c17afa9e62f
parent0b1b925eabdbc863674d1be62fca808348fe8fbf
powerpc/32: Optimise __csum_partial()

Improve __csum_partial by interleaving loads and adds.

On a 8xx, it brings neither improvement nor degradation.
On a 83xx, it brings a 25% improvement.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/checksum_32.S