Re: [PATCH v2 2/2] sparc64: Use lzcnt instruction for fls and __fls

From: David Miller
Date: Wed Sep 27 2017 - 18:10:28 EST


From: Anthony Yznaga <anthony.yznaga@xxxxxxxxxx>
Date: Wed, 27 Sep 2017 14:45:34 -0700

> Vijay,
> Older assemblers may not support this flag so youʼll need to
> hardcode the lzcnt instructions using .word directives.

Right, older binutils do not support the T4 instructions.

This is why we hardcode the opcodes for all of the crypto
instructions used under arch/sparc64/crypto/, for example.