There's no need to use the fallback fls() and flsl() libkern functions
when the PowerISA includes instructions that already do the bulk of the
work. Take advantage of this through the GCC builtins builtin_clz()
and builtin_clzl().
Details
Details
- Reviewers
nwhitehorn luporl bdragon - Commits
- rS355521: powerpc: Use builtins for fls/flsl
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable