Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2011 22:00:37 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217029 - in head: lib/libstand sys/boot/ficl sys/boot/zfs
Message-ID:  <201101052200.p05M0bWJ092433@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Wed Jan  5 22:00:37 2011
New Revision: 217029
URL: http://svn.freebsd.org/changeset/base/217029

Log:
  In lib/libstand, sys/boot/ficl and sys/boot/zfs, -mno-sse3 should also
  be used for amd64, not just for i386.

Modified:
  head/lib/libstand/Makefile
  head/sys/boot/ficl/Makefile
  head/sys/boot/zfs/Makefile

Modified: head/lib/libstand/Makefile
==============================================================================
--- head/lib/libstand/Makefile	Wed Jan  5 21:46:08 2011	(r217028)
+++ head/lib/libstand/Makefile	Wed Jan  5 22:00:37 2011	(r217029)
@@ -22,10 +22,7 @@ CFLAGS+= -I${.CURDIR}
 
 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
 CFLAGS+=	-mpreferred-stack-boundary=2
-CFLAGS+=	-mno-mmx -mno-3dnow -mno-sse -mno-sse2
-.endif
-.if ${MACHINE_CPUARCH} == "i386"
-CFLAGS+=	-mno-sse3
+CFLAGS+=	-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
 .endif
 .if ${MACHINE} == "pc98"
 CFLAGS+=	-Os

Modified: head/sys/boot/ficl/Makefile
==============================================================================
--- head/sys/boot/ficl/Makefile	Wed Jan  5 21:46:08 2011	(r217028)
+++ head/sys/boot/ficl/Makefile	Wed Jan  5 22:00:37 2011	(r217029)
@@ -9,10 +9,9 @@ CLEANFILES=	softcore.c testmain testmain
 CFLAGS+=	-ffreestanding
 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
 CFLAGS+=	-mpreferred-stack-boundary=2
-CFLAGS+=	-mno-mmx -mno-3dnow -mno-sse -mno-sse2
+CFLAGS+=	-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
 .endif
 .if ${MACHINE_CPUARCH} == "i386"
-CFLAGS+=	-mno-sse3
 .endif
 .if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm"
 CFLAGS+=	-msoft-float

Modified: head/sys/boot/zfs/Makefile
==============================================================================
--- head/sys/boot/zfs/Makefile	Wed Jan  5 21:46:08 2011	(r217028)
+++ head/sys/boot/zfs/Makefile	Wed Jan  5 22:00:37 2011	(r217029)
@@ -13,10 +13,7 @@ CFLAGS+=	-I${.CURDIR}/../../cddl/boot/zf
 CFLAGS+=	-ffreestanding
 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
 CFLAGS+=	-mpreferred-stack-boundary=2
-CFLAGS+=	-mno-mmx -mno-3dnow -mno-sse -mno-sse2
-.endif
-.if ${MACHINE_CPUARCH} == "i386"
-CFLAGS+=	-mno-sse3
+CFLAGS+=	-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
 .endif
 .if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm"
 CFLAGS+=	-msoft-float



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101052200.p05M0bWJ092433>