Date: Wed, 6 Aug 2008 16:10:04 GMT From: David Schultz <das@FreeBSD.ORG> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/126300: Add missing -mno-sse3 flag for AMD64 to /usr/src/sys/conf/kern.mk Message-ID: <200808061610.m76GA4Q8045862@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/126300; it has been noted by GNATS.
From: David Schultz <das@FreeBSD.ORG>
To: Paul Wootton <paul@fletchermoorland.co.uk>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: kern/126300: Add missing -mno-sse3 flag for AMD64 to /usr/src/sys/conf/kern.mk
Date: Wed, 6 Aug 2008 12:03:01 -0400
On Wed, Aug 06, 2008, Paul Wootton wrote:
> Added the missing -mno-sse3 flag to the amd64 section in the /usr/src/sys/conf/kern.mk file
[...]
> .if ${MACHINE_ARCH} == "amd64"
> CFLAGS+= -mcmodel=kernel -mno-red-zone \
> - -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow \
> + -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow
Just out of curiosity, why do you believe this is needed? I'm
pretty sure -mno-sse implies -mno-sse3 automatically, and likewise
for -mno-sse2. If this weren't the case, then all hell would break
loose when the kernel started using xmm registers.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808061610.m76GA4Q8045862>
