Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Disable SSE and AVX for kernel modules too.
details: https://anonhg.NetBSD.org/src/rev/13242907793e
branches: trunk
changeset: 333110:13242907793e
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Oct 19 15:41:05 2014 +0000
description:
Disable SSE and AVX for kernel modules too.
diffstat:
sys/arch/amd64/include/Makefile.inc | 5 +++--
sys/arch/i386/include/Makefile.inc | 5 ++++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 6ca838d42bcf -r 13242907793e sys/arch/amd64/include/Makefile.inc
--- a/sys/arch/amd64/include/Makefile.inc Sun Oct 19 15:38:54 2014 +0000
+++ b/sys/arch/amd64/include/Makefile.inc Sun Oct 19 15:41:05 2014 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile.inc,v 1.4 2012/06/11 15:18:05 chs Exp $
+# $NetBSD: Makefile.inc,v 1.5 2014/10/19 15:41:05 joerg Exp $
-CFLAGS+= -mno-red-zone
+CFLAGS+= -mno-red-zone -mno-mmx -mno-sse -mno-avx
+CFLAGS+= -msoft-float
# this should really be !(RUMPKERNEL && PIC)
.if !defined(RUMPKERNEL)
diff -r 6ca838d42bcf -r 13242907793e sys/arch/i386/include/Makefile.inc
--- a/sys/arch/i386/include/Makefile.inc Sun Oct 19 15:38:54 2014 +0000
+++ b/sys/arch/i386/include/Makefile.inc Sun Oct 19 15:41:05 2014 +0000
@@ -1,4 +1,7 @@
-# $NetBSD: Makefile.inc,v 1.2 2014/05/24 18:39:04 jakllsch Exp $
+# $NetBSD: Makefile.inc,v 1.3 2014/10/19 15:41:05 joerg Exp $
+
+CFLAGS+= -msoft-float
+CFLAGS+= -mno-mmx -mno-sse -mno-avx
# this should really be !(RUMPKERNEL && PIC)
.if !defined(RUMPKERNEL)
Home |
Main Index |
Thread Index |
Old Index