[POWERPC] Use mtocrf instruction in asm when CONFIG_POWER4_ONLY=y
authorOlof Johansson <olof@lixom.net>
Thu, 22 Mar 2007 14:34:13 +0000 (09:34 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:13 +0000 (03:55 +1000)
commit3467bfd340f9ad48f3732415533a2e9c18240b62
tree91f57918199d9508868aa0889a5b2aca4cc1da13
parent569975591c5530fdc9c7a3c45122e5e46f075a74
[POWERPC] Use mtocrf instruction in asm when CONFIG_POWER4_ONLY=y

mtocrf is a faster single-field mtcrf (move to condition register
fields) instruction available in POWER4 and later processors.  It can
make quite a difference in performance on some implementations, so use
it for CONFIG_POWER4_ONLY builds.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/lib/copyuser_64.S
arch/powerpc/lib/mem_64.S
arch/powerpc/lib/memcpy_64.S
include/asm-powerpc/asm-compat.h