Module Name:    src
Committed By:   matt
Date:           Tue Feb  1 01:21:29 UTC 2011

Modified Files:
        src/sys/arch/powerpc/include: mcontext.h

Log Message:
Fix XER comment.
Add spe variants for vectors.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/include/mcontext.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/mcontext.h
diff -u src/sys/arch/powerpc/include/mcontext.h:1.9 src/sys/arch/powerpc/include/mcontext.h:1.10
--- src/sys/arch/powerpc/include/mcontext.h:1.9	Tue Jan 18 01:02:54 2011
+++ src/sys/arch/powerpc/include/mcontext.h	Tue Feb  1 01:21:29 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: mcontext.h,v 1.9 2011/01/18 01:02:54 matt Exp $	*/
+/*	$NetBSD: mcontext.h,v 1.10 2011/02/01 01:21:29 matt Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
 #define	_REG_PC		34		/* PC (copy of SRR0) */
 #define	_REG_MSR	35		/* MSR (copy of SRR1) */
 #define	_REG_CTR	36		/* Count Register */
-#define	_REG_XER	37		/* Integet Exception Reigster */
+#define	_REG_XER	37		/* Integer Exception Register */
 #define	_REG_MQ		38		/* MQ Register (POWER only) */
 
 typedef struct {
@@ -98,7 +98,10 @@
 		unsigned char	__vr8[16];
 		unsigned short	__vr16[8];
 		unsigned int	__vr32[4];
-	} 		__vrs[_NVR] __attribute__((__aligned__(16)));
+		unsigned char	__spe8[8];
+		unsigned short	__spe16[4];
+		unsigned int	__spe32[2];
+	} 		__vrs[_NVR] __aligned(16);
 	unsigned int	__vscr;		/* VSCR */
 	unsigned int	__vrsave;	/* VRSAVE */
 } __vrf_t;

Reply via email to