From nobody@FreeBSD.org  Wed Aug  6 12:20:08 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A163D1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Aug 2008 12:20:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 87BA98FC26
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Aug 2008 12:20:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m76CK7OI027588
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 6 Aug 2008 12:20:07 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m76CK74K027587;
	Wed, 6 Aug 2008 12:20:07 GMT
	(envelope-from nobody)
Message-Id: <200808061220.m76CK74K027587@www.freebsd.org>
Date: Wed, 6 Aug 2008 12:20:07 GMT
From: Paul Wootton <paul@fletchermoorland.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add missing -mno-sse3 flag for AMD64 to /usr/src/sys/conf/kern.mk
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         126300
>Category:       kern
>Synopsis:       [build] [patch] Add missing -mno-sse3 flag for AMD64 to /usr/src/sys/conf/kern.mk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 06 12:30:01 UTC 2008
>Closed-Date:    Mon May 16 14:44:19 UTC 2011
>Last-Modified:  Mon May 16 14:44:19 UTC 2011
>Originator:     Paul Wootton
>Release:        FreeBSD 7.0-STABLE
>Organization:
>Environment:
FreeBSD demophon.fletchermoorland.co.uk 7.0-STABLE FreeBSD 7.0-STABLE #11: Wed Aug  6 11:48:04 BST 2008     paul@demophon.fletchermoorland.co.uk:/usr/obj/usr/src/sys/DEMOPHON  amd64

>Description:
Added the missing -mno-sse3 flag to the amd64 section in the /usr/src/sys/conf/kern.mk file

I know this is a duplicate of kern/123518 and kern/124463 but
1) kern/123518 has now been open since 8 May 2008
2) kern/124463 was closed as it was a duplicate of kern/123518, yet the fixed has not been MFCed

Is there any reason why this can not be MFCed for the AMD64 platform
>How-To-Repeat:

>Fix:
in /usr/src/sys/conf/kern.mk

Change 

.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 

>Release-Note:
>Audit-Trail:

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.
State-Changed-From-To: open->closed 
State-Changed-By: jh 
State-Changed-When: Mon May 16 14:44:18 UTC 2011 
State-Changed-Why:  
Only -no-sse is used since r221879. It disables also SSE3. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126300 
>Unformatted:
