aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDavid Woodhouse <[email protected]>2012-12-19 15:14:17 +0000
committerBenjamin Herrenschmidt <[email protected]>2013-01-10 17:00:54 +1100
commitfe3955cb297290b0d5dedf5d2694a7cef455010e (patch)
tree8901f2f72857d3490c1dda22dcdc3b2d7ccef326 /tools/perf/scripts/python/bin
parente49f1e203f3a66dd2982bcd8695e6f4a4f89f876 (diff)
powerpc: Enable ARCH_USE_BUILTIN_BSWAP
By using the compiler intrinsics instead of hand-crafted opaque inline assembler for byte-swapping, we let the compiler see what's actually happening and it gets to use lwbrx/stwbrx instructions instead of a normal load/store coupled with a sequence of rlwimi instructions to move bits around. Compiled-tested only. It gave a code size reduction of almost 4% for ext2, and more like 2.5% for ext3/ext4. Signed-off-by: David Woodhouse <[email protected]> Acked-by: H. Peter Anvin <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions