Date: Wed, 05 Jan 2011 16:04:43 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Nathan Whitehorn <nwhitehorn@freebsd.org> Cc: Gleb Kurtsou <gleb.kurtsou@gmail.com>, src-committers@freebsd.org, John Baldwin <jhb@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Alexander Best <arundel@freebsd.org> Subject: Re: svn commit: r216977 - in head/libexec/rtld-elf: amd64 i386 Message-ID: <4D24888B.50305@FreeBSD.org> In-Reply-To: <4D248540.3030602@freebsd.org> References: <201101042051.p04KpSGk054564@svn.freebsd.org> <201101050759.50877.jhb@freebsd.org> <4D2473C6.40102@FreeBSD.org> <201101050928.30748.jhb@freebsd.org> <4D248540.3030602@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D24888B.50305>