summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/arch_hweight.h
Commit message (Collapse)AuthorAgeFilesLines
* MIPS: Create and use asm/arch_hweight.hDavid Daney2010-08-051-0/+38
Some MIPS ISA processor varients can do hweight operations efficiently. Split arch_hweight.h into a seperate file, and implement the operations with __builtin_popcount{,ll} if supported. Signed-off-by: David Daney <ddaney@caviumnetworks.com> To: linux-mips@linux-mips.org Cc: David Daney <ddaney@caviumnetworks.com> Patchwork: https://patchwork.linux-mips.org/patch/1430/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
OpenPOWER on IntegriCloud