kern/126300: Add missing -mno-sse3 flag for AMD64 to /usr/src/sys/conf/

David Schultz das at FreeBSD.ORG
Wed Aug 6 16:10:04 UTC 2008

The following reply was made to PR kern/126300; it has been noted by GNATS.

From: David Schultz <das at FreeBSD.ORG>
To: Paul Wootton <paul at>
Cc: bug-followup at FreeBSD.ORG
Subject: Re: kern/126300: Add missing -mno-sse3 flag for AMD64 to /usr/src/sys/conf/
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/ 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.

More information about the freebsd-bugs mailing list