From owner-svn-src-head@FreeBSD.ORG Wed Jan 5 15:04:44 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 777F0106566B; Wed, 5 Jan 2011 15:04:44 +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 337F78FC16; Wed, 5 Jan 2011 15:04:44 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:b1c7:6e17:2223:c629] (unknown [IPv6:2001:7b8:3a7:0:b1c7:6e17:2223:c629]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 7189B5C5A; Wed, 5 Jan 2011 16:04:43 +0100 (CET) Message-ID: <4D24888B.50305@FreeBSD.org> Date: Wed, 05 Jan 2011 16:04:43 +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: Nathan Whitehorn References: <201101042051.p04KpSGk054564@svn.freebsd.org> <201101050759.50877.jhb@freebsd.org> <4D2473C6.40102@FreeBSD.org> <201101050928.30748.jhb@freebsd.org> <4D248540.3030602@freebsd.org> In-Reply-To: <4D248540.3030602@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Gleb Kurtsou , src-committers@freebsd.org, John Baldwin , svn-src-all@freebsd.org, svn-src-head@freebsd.org, Alexander Best Subject: Re: svn commit: r216977 - in head/libexec/rtld-elf: amd64 i386 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 15:04:44 -0000 On 2011-01-05 15:50, Nathan Whitehorn wrote: > You would also want this to be cross-platform, in which case it's more > than floating point. E.g. on powerpc, you also want to disable both FP > and vector extensions, which use separate sets of instructions and > registers. Yeah, but in any case, hacking the compiler itself is not the proper way to achieve this goal, IMHO. It should go into sys.mk, or more appropriately bsd.cpu.mk. I'll make a crude diff for this tonight. > I guess overriding CPU type to be something very old (386?) > potentially deoptimizes the code? That won't work for amd64. :)