Subject: Re: [PATCH] powerpc: emulate power5 popcntb instruction

From: Arnd Bergmann <[email-masked]>
Date: Fri, 18 Aug 2006 21:05:44 +0200

On Friday 18 August 2006 20:11, Will Schmidt wrote:
> +#define INST_POPCNTB           0x7c0000f4
> +

> +       /* Emulate the popcntb (Population Count Bytes) instruction. */
> +       if ((instword & INST_POPCNTB) == INST_POPCNTB) {
> +               return emulate_popcntb_inst(regs, instword);
> +       }
> +

Is that the right check? The other similar traps check against a
mask of 0x7c0007fe.

	Arnd <><