Re: [PATCH v3 3/5] sparc64: SPARC optimised fls function

From: David Miller
Date: Mon Oct 09 2017 - 00:40:06 EST


From: Vijay Kumar <vijay.ac.kumar@xxxxxxxxxx>
Date: Fri, 6 Oct 2017 10:54:51 -0600

> +#define LXCNT_O0_G2 \
> + .word 0x85b002e8
> +
> + .text
> + .register %g2, #scratch
> + .register %g3, #scratch
> +
> +ENTRY(NG4fls)
> + LXCNT_O0_G2 !lzcnt %o0, %g2

Agreed with others that you should name this LZCNT_* instead of
LXCNT_*.