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
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 27484 Build 25716: arc lint + arc unit