Re: [PATCH v4 0/5] sparc64: Optimize fls and __fls

2017-11-14 Thread David Miller
From: Vijay Kumar Date: Wed, 11 Oct 2017 12:50:01 -0600 > 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 func

Re: [PATCH v4 0/5] sparc64: Optimize fls and __fls

2017-10-12 Thread Babu Moger
Looked at all the patches. Looks good to me. Reviewed-by: Babu Moger On 10/11/2017 1:50 PM, Vijay Kumar wrote: 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 patchin

[PATCH v4 0/5] sparc64: Optimize fls and __fls

2017-10-11 Thread Vijay Kumar
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(), ENDPR