diff options
author | David S. Miller <davem@davemloft.net> | 2017-11-15 14:26:46 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-15 14:26:46 +0900 |
commit | a16036e9b2fbdadf44f9fbbdf95d173d3f78170b (patch) | |
tree | dac0c0d3b741e169a4269c59ee1ef152c8ba9583 /tools/perf/scripts/python/compaction-times.py | |
parent | 9a08862a5d2e266ecea1865547463da2745fc687 (diff) | |
parent | 46ad8d2d22c17e2b577adec55ae87161666a3267 (diff) |
Merge branch 'sparc64-optimized-fls'
Vijay Kumar says:
====================
sparc64: Optimize fls and __fls
SPARC provides lzcnt instruction (with VIS3) which can be used to
optimize fls, __fls and fls64 functions. For the systems that supports
lzcnt instruction, we now do boot time patching to use sparc
optimized fls, __fls and fls64 functions.
v3->v4:
- Fixed a typo.
v2->v3:
- Using ENTRY(), ENDPROC() for assembler functions.
- Removed BITS_PER_LONG from __fls.
- Using generic fls64().
- Replaced lzcnt instruction with .word directive.
v1->v2:
- Fixed delay slot issue.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions