From: Anton Blanchard Date: Thu, 18 Sep 2014 23:40:20 +0000 (+1000) Subject: powerpc: ppc64le optimised word at a time X-Git-Tag: fixes-against-v3.18-rc2~117^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8989aa4adacd02174d1f72a00af8d669934a2b7a;p=pandora-kernel.git powerpc: ppc64le optimised word at a time Use cmpb which compares each byte in two 64 bit values and for each matching byte places 0xff in the target and 0x00 otherwise. A simple hash_name microbenchmark: http://ozlabs.org/~anton/junkcode/hash_name_bench.c shows this version to be 10-20% faster than running the x86 version on POWER8, depending on the length. Signed-off-by: Anton Blanchard Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed