在 2016/4/16 0:08, Joe Perches 写道:
> On Fri, 2016-04-15 at 23:20 +0800, zengzhao...@163.com wrote:
>> From: Zeng Zhaoxiu
>>
>> blackfin has popcount instruction (ONES), we can do the efficient
>> computing (ffz, __ffs, ffs, __fls, and fls) use this instruction.
> []
>> diff --git a/arch/blackfin/in
On Fri, 2016-04-15 at 23:20 +0800, zengzhao...@163.com wrote:
> From: Zeng Zhaoxiu
>
> blackfin has popcount instruction (ONES), we can do the efficient
> computing (ffz, __ffs, ffs, __fls, and fls) use this instruction.
[]
> diff --git a/arch/blackfin/include/asm/bitops.h
> b/arch/blackfin/incl
From: Zeng Zhaoxiu
blackfin has popcount instruction (ONES), we can do the efficient
computing (ffz, __ffs, ffs, __fls, and fls) use this instruction.
Adapted from "https://en.wikipedia.org/wiki/Find_first_set"; and
arch/ia64/include/asm/bitops.h.
Changes to V2:
- Fix build errors
Changes to V
3 matches
Mail list logo