diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-06-26 01:46:07 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 14:26:02 +0200 |
commit | 1a403d1d2e549bc7d280001503867321572717f6 (patch) | |
tree | e96d31e561f13695e591cd2eadd116c4994624e6 /Kbuild | |
parent | MIPS: AR7: rewrite of cpmac_get_mac() (diff) | |
download | linux-1a403d1d2e549bc7d280001503867321572717f6.tar.xz linux-1a403d1d2e549bc7d280001503867321572717f6.zip |
MIPS: Create and use asm/arch_hweight.h
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions