Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/conf Try to ensure no SSE instructions are gen...



details:   https://anonhg.NetBSD.org/src/rev/45288197205a
branches:  trunk
changeset: 768069:45288197205a
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Aug 07 14:39:15 2011 +0000

description:
Try to ensure no SSE instructions are generated for kernel code,
as is already done on amd64.

diffstat:

 sys/arch/i386/conf/Makefile.i386 |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5abf8caea1d4 -r 45288197205a sys/arch/i386/conf/Makefile.i386
--- a/sys/arch/i386/conf/Makefile.i386  Sun Aug 07 14:36:35 2011 +0000
+++ b/sys/arch/i386/conf/Makefile.i386  Sun Aug 07 14:39:15 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.i386,v 1.173 2011/07/04 16:20:45 joerg Exp $
+#      $NetBSD: Makefile.i386,v 1.174 2011/08/07 14:39:15 jakllsch Exp $
 
 # Makefile for NetBSD
 #
@@ -34,6 +34,7 @@
 ## (2) compile settings
 ##
 CPPFLAGS+=     -Di386
+CFLAGS+=       -mno-sse -mno-sse2 -mno-sse3
 
 AFLAGS.mptramp.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
 CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC} == "clang":?-Wno-error:}



Home | Main Index | Thread Index | Old Index