]> 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)
commitc88587a13f65bdeb9c846637383e9455cf0641f5
tree4c4b689c05300a7fdf7e1494c1f72c17afa9e62f
parent74923148db3478449f745add07153c647eccb0ab
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