From owner-svn-src-all@FreeBSD.ORG Thu Jan 6 09:42:41 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C444106566C; Thu, 6 Jan 2011 09:42:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id BFFDD8FC08; Thu, 6 Jan 2011 09:42:40 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:386f:212a:67be:86c8] (unknown [IPv6:2001:7b8:3a7:0:386f:212a:67be:86c8]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A57F45C5A; Thu, 6 Jan 2011 10:42:39 +0100 (CET) Message-ID: <4D258E91.2040403@FreeBSD.org> Date: Thu, 06 Jan 2011 10:42:41 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.14pre) Gecko/20110104 Lanikai/3.1.8pre MIME-Version: 1.0 To: Ivan Voras References: <201101052224.p05MOXQs093175@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r217033 - in head: lib/libstand sys/boot/ficl sys/boot/i386 sys/boot/pc98 sys/boot/zfs sys/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2011 09:42:41 -0000 On 2011-01-06 00:14, Ivan Voras wrote: >> -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float > I'm late to the party - but is there any hope of centralizing these > and then doing something like "CFLAGS += ${CC_NO_FP}" ? Yeah, that is the next step. First I wanted to get all the flags the same. Btw, this is not only about "no floating point", as SSE instructions can be used for other things (memset, memcpy, etc) too. So "NO_FP" is misleading in my opinion, but it seems to be what most people want. > As soon as we > get a newer compiler someone will have to add -mno-sse4 to the list > (if not already with clang...). For clang, we should add the following, if we want to be very cautious: -mno_aes -mno_avx -mno_sse4 -mno_sse4_1 -mno_sse4_2 -mno_sse4a -mno_ssse3