MIPS: Octeon: Define ARCH_HAS_USABLE_BUILTIN_POPCOUNT for OCTEON.
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 25 Jun 2010 23:46:08 +0000 (16:46 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:03 +0000 (13:26 +0100)
commit1d1929c7662d5da3badcf0df2ca5c9b2dc15db97
tree15e91f7ccc3995ff291c146a61fe92325e8afc84
parent1a403d1d2e549bc7d280001503867321572717f6
MIPS: Octeon: Define ARCH_HAS_USABLE_BUILTIN_POPCOUNT for OCTEON.

OCTEON implements __builtin_popcount with a single instruction, so lets use it.

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/1431/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h