From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 10:57:15 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E858C16A419 for ; Wed, 21 Nov 2007 10:57:15 +0000 (UTC) (envelope-from marcolz@serv1-mk3.ilse.net) Received: from serv1-mk3.ilse.net (serv1-mk3.ilse.net [62.69.160.41]) by mx1.freebsd.org (Postfix) with ESMTP id 533DF13C447 for ; Wed, 21 Nov 2007 10:57:14 +0000 (UTC) (envelope-from marcolz@serv1-mk3.ilse.net) Received: (from marcolz@localhost) by serv1-mk3.ilse.net (8.13.4/8.12.11) id lALAuxsL052017; Wed, 21 Nov 2007 11:56:59 +0100 (CET) (envelope-from marcolz) Date: Wed, 21 Nov 2007 11:56:59 +0100 From: Marc Olzheim To: freebsd-stable@freebsd.org Message-ID: <20071121105659.GA37877@ilse.net> References: <20071117111446.GA24272@ilse.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <20071117111446.GA24272@ilse.net> X-Operating-System: FreeBSD serv1-mk3.ilse.net 4.11-STABLE FreeBSD 4.11-STABLE X-URL: http://ilse.nl/ User-Agent: Mutt/1.5.11 Cc: Marc Olzheim Subject: Re: FreeBSD 7.0-BETA2 /usr/src/sys/conf/kern.mk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 10:57:16 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 17, 2007 at 12:14:46PM +0100, Marc Olzheim wrote: > For the MACHINE_ARCH =3D=3D "amd64" & ${CC} !=3D "icc" case, > the -mno-sse3 flag that *is* set for MACHINE_ARCH =3D=3D "i386", is not s= et. >=20 > I don't think the current gcc actually uses sse3 anywhere in the kernel > compile, as my kernels are working as normal, but for the sake of > completeness, I suggest the attached patch. (For CURRENT as well as > RELENG_7) It's /usr/src/sys/conf/kern.mk:1.46 that misses the fact that it can be set for amd64 as well, not just for i386. Should I file a PR to get this fixed before 7-RELEASE ? --- /usr/src/sys/conf/kern.mk.orig 2007-05-24 21:53:42.000000000 +0000 +++ /usr/src/sys/conf/kern.mk 2007-11-17 12:10:28.000000000 +0000 @@ -70,7 +70,7 @@ # .if ${MACHINE_ARCH} =3D=3D "amd64" CFLAGS+=3D -mcmodel=3Dkernel -mno-red-zone \ - -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow \ + -mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow \ -msoft-float -fno-asynchronous-unwind-tables INLINE_LIMIT?=3D 8000 .endif --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFHRA77ezjnobFOgrERAi8rAJ9qi+8IzIcCk2tQhO1rCiA5uXsPXACgoBuz La9mhBhSOcLDsasXO/kUg2E= =hKV6 -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--