From owner-freebsd-current@FreeBSD.ORG Wed Mar 9 17:01:00 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id 130D716A4CF; Wed, 9 Mar 2005 17:01:00 +0000 (GMT) Date: Wed, 9 Mar 2005 17:01:00 +0000 From: Kris Kennaway To: Divacky Roman Message-ID: <20050309170100.GG50186@hub.freebsd.org> References: <20050309092749.GA72315@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050309092749.GA72315@stud.fit.vutbr.cz> User-Agent: Mutt/1.4.2.1i cc: current@freebsd.org Subject: Re: amd64 default CFLAGS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 17:01:00 -0000 On Wed, Mar 09, 2005 at 10:27:49AM +0100, Divacky Roman wrote: > hi, > > why is it necessary (if its at all) to have this: > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow in default CFLAGS for amd64 > architecture? This is the default COPTFLAGS, not CFLAGS, right? You can't use special instructions like sse in the kernel because they require extra register state operations that would cost performance. Kris