From owner-svn-src-head@FreeBSD.ORG Wed Jan 5 19:11:12 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id DA3B310656A4; Wed, 5 Jan 2011 19:11:12 +0000 (UTC) Date: Wed, 5 Jan 2011 19:11:12 +0000 From: Alexander Best To: John Baldwin Message-ID: <20110105191112.GB30449@freebsd.org> References: <201101042051.p04KpSGk054564@svn.freebsd.org> <4D248540.3030602@freebsd.org> <4D24888B.50305@FreeBSD.org> <201101051146.26723.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101051146.26723.jhb@freebsd.org> Cc: Gleb Kurtsou , src-committers@freebsd.org, svn-src-all@freebsd.org, Dimitry Andric , Nathan Whitehorn , svn-src-head@freebsd.org 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 19:11:12 -0000 On Wed Jan 5 11, John Baldwin wrote: > On Wednesday, January 05, 2011 10:04:43 am Dimitry Andric wrote: > > 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 think this is a workaround for a deficiency in the compiler, and one we are > probably stuck with. But it sure would be nice to have in the compiler. ehm...i'm not an expert on clang, but why not ask the clang developers to add a switch to disable all floating point extensions and for archs that use it another switch to disable vector extensions? it seems the clang developers are very open minded and open to new ideas. cheers. alex > > -- > John Baldwin -- a13x