powerpc/32: Few optimisations in memcpy
authorLEROY Christophe <christophe.leroy@c-s.fr>
Tue, 19 May 2015 10:07:57 +0000 (12:07 +0200)
committerScott Wood <scottwood@freescale.com>
Sat, 8 Aug 2015 03:59:29 +0000 (22:59 -0500)
commit295ffb41896f566d4bd6f93fc230f5d411d373cb
tree8022a2cf64316b4cf6e441314fc2dd7b196f2a38
parent0b05e2d671c40cfb57e66e4e402320d6e056b2f8
powerpc/32: Few optimisations in memcpy

This patch adds a few optimisations in memcpy functions by using
lbzu/stbu instead of lxb/stb and by re-ordering insn inside a loop
to reduce latency due to loading

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/lib/copy_32.S