From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJ77H-0002W1-OW for qemu-devel@nongnu.org; Sat, 03 Jan 2009 09:04:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJ77H-0002Vc-9Z for qemu-devel@nongnu.org; Sat, 03 Jan 2009 09:04:39 -0500 Received: from [199.232.76.173] (port=54814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJ77H-0002VX-10 for qemu-devel@nongnu.org; Sat, 03 Jan 2009 09:04:39 -0500 Received: from hall.aurel32.net ([88.191.82.174]:37561) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LJ77G-0002sY-EO for qemu-devel@nongnu.org; Sat, 03 Jan 2009 09:04:38 -0500 Date: Sat, 3 Jan 2009 15:04:37 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 09/40] Add vscr access macros. Message-ID: <20090103140437.GL8871@hall.aurel32.net> References: <1230693022-18380-1-git-send-email-froydnj@codesourcery.com> <1230693022-18380-10-git-send-email-froydnj@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1230693022-18380-10-git-send-email-froydnj@codesourcery.com> Sender: Aurelien Jarno Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nathan Froyd Cc: qemu-devel@nongnu.org On Tue, Dec 30, 2008 at 07:09:51PM -0800, Nathan Froyd wrote: > > Signed-off-by: Nathan Froyd > --- > target-ppc/cpu.h | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) Thanks, applied. > diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h > index f7600c4..113bba5 100644 > --- a/target-ppc/cpu.h > +++ b/target-ppc/cpu.h > @@ -525,6 +525,13 @@ enum { > 0x1F) > > /*****************************************************************************/ > +/* Vector status and control register */ > +#define VSCR_NJ 16 /* Vector non-java */ > +#define VSCR_SAT 0 /* Vector saturation */ > +#define vscr_nj (((env->vscr) >> VSCR_NJ) & 0x1) > +#define vscr_sat (((env->vscr) >> VSCR_SAT) & 0x1) > + > +/*****************************************************************************/ > /* The whole PowerPC CPU context */ > #define NB_MMU_MODES 3 > > -- > 1.6.0.5 > > > > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net