All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linuxppc-dev@ozlabs.org, will_schmidt@vnet.ibm.com
Cc: Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH] powerpc: emulate power5 popcntb instruction
Date: Fri, 18 Aug 2006 21:05:44 +0200	[thread overview]
Message-ID: <200608182105.45264.arnd@arndb.de> (raw)
In-Reply-To: <1155924687.9659.25.camel@farscape.rchland.ibm.com>

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

> +=A0=A0=A0=A0=A0=A0=A0/* Emulate the popcntb (Population Count Bytes) ins=
truction. */
> +=A0=A0=A0=A0=A0=A0=A0if ((instword & INST_POPCNTB) =3D=3D INST_POPCNTB) {
> +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0return emulate_popcntb_inst=
(regs, instword);
> +=A0=A0=A0=A0=A0=A0=A0}
> +

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

	Arnd <><

  reply	other threads:[~2006-08-18 19:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-17 18:53 [PATCH] powerpc: emulate power5 popcntb instruction Will Schmidt
2006-08-17 19:24 ` Segher Boessenkool
2006-08-18 18:11   ` Will Schmidt
2006-08-18 19:05     ` Arnd Bergmann [this message]
2006-08-18 19:30       ` Kumar Gala
2006-08-19 19:10       ` segher
2006-08-19 20:19         ` Arnd Bergmann
2006-08-19 23:32           ` segher
2006-08-21 20:09             ` Will Schmidt
2006-08-24  6:36               ` Paul Mackerras
2006-08-24 15:53                 ` Segher Boessenkool
2006-08-25  9:59                   ` Gabriel Paubert
2006-08-25 12:57                   ` Paul Mackerras
2006-08-28 18:03                 ` Willschm
2006-08-29  6:43                   ` Segher Boessenkool
2006-08-30 18:11                     ` Will Schmidt
2006-08-18 19:42     ` Kumar Gala
2006-08-19 19:09       ` segher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608182105.45264.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=will_schmidt@vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.