Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Change ALIGNBYTES to be AltiVec savvy
details: https://anonhg.NetBSD.org/src/rev/01e60e3d3bf9
branches: trunk
changeset: 777500:01e60e3d3bf9
user: matt <matt%NetBSD.org@localhost>
date: Tue Feb 21 02:09:35 2012 +0000
description:
Change ALIGNBYTES to be AltiVec savvy
diffstat:
sys/arch/powerpc/include/cdefs.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 760dacab4641 -r 01e60e3d3bf9 sys/arch/powerpc/include/cdefs.h
--- a/sys/arch/powerpc/include/cdefs.h Tue Feb 21 02:08:55 2012 +0000
+++ b/sys/arch/powerpc/include/cdefs.h Tue Feb 21 02:09:35 2012 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: cdefs.h,v 1.7 2012/01/20 14:08:06 joerg Exp $ */
+/* $NetBSD: cdefs.h,v 1.8 2012/02/21 02:09:35 matt Exp $ */
#ifndef _POWERPC_CDEFS_H_
#define _POWERPC_CDEFS_H_
-#define __ALIGNBYTES (sizeof(double) - 1)
+#define __ALIGNBYTES (16 - 1) /* AltiVec */
#endif /* !_POWERPC_CDEFS_H_ */
Home |
Main Index |
Thread Index |
Old Index