Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf Explicitly disable use of SSE. LLVM gene...



details:   https://anonhg.NetBSD.org/src/rev/ac56d2b34615
branches:  trunk
changeset: 765914:ac56d2b34615
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jun 10 03:17:35 2011 +0000

description:
Explicitly disable use of SSE. LLVM generates SSE by default on AMD64
and we certainly don't want that in the kernel.

diffstat:

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

diffs (18 lines):

diff -r bbb56e830ba1 -r ac56d2b34615 sys/arch/amd64/conf/Makefile.amd64
--- a/sys/arch/amd64/conf/Makefile.amd64        Fri Jun 10 02:19:10 2011 +0000
+++ b/sys/arch/amd64/conf/Makefile.amd64        Fri Jun 10 03:17:35 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amd64,v 1.35 2011/05/30 15:06:32 joerg Exp $
+#      $NetBSD: Makefile.amd64,v 1.36 2011/06/10 03:17:35 joerg Exp $
 
 # Makefile for NetBSD
 #
@@ -36,7 +36,7 @@
 DEFCOPTS=      -O2
 CPPFLAGS+=     -Damd64 -Dx86_64
 CFLAGS+=       -mcmodel=kernel
-CFLAGS+=       -mno-red-zone
+CFLAGS+=       -mno-red-zone -mno-sse -mno-sse2 -mno-sse3
 
 ##
 ## (3) libkern and compat



Home | Main Index | Thread Index | Old Index