[POWERPC] Emulate power5 popcntb instruction
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Wed, 30 Aug 2006 18:11:38 +0000 (13:11 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 13 Sep 2006 08:39:52 +0000 (18:39 +1000)
commitc3412dcb75ff4d64b44bedc72761d5707d19edf7
tree3e893de720ce5aca6a3e6471cd6ef0fcbcb62281
parentf50d4cfc98d70f919afb2924b1b53c36b2f4e62f
[POWERPC] Emulate power5 popcntb instruction

In an attempt to make it easier for a power5 optimized app to run on a
power4 or a 970 or random earlier machine, this provides emulation of
the popcntb instruction.

Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/traps.c