commit | 3467bfd340f9ad48f3732415533a2e9c18240b62 | [log] [tgz] |
---|---|---|
author | Olof Johansson <olof@lixom.net> | Thu Mar 22 09:34:13 2007 -0500 |
committer | Paul Mackerras <paulus@samba.org> | Fri Apr 13 03:55:13 2007 +1000 |
tree | 91f57918199d9508868aa0889a5b2aca4cc1da13 | |
parent | 569975591c5530fdc9c7a3c45122e5e46f075a74 [diff] |
[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>