From owner-freebsd-arch@FreeBSD.ORG Wed Jul 10 07:03:24 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7D4494A1; Wed, 10 Jul 2013 07:03:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E0DEF1844; Wed, 10 Jul 2013 07:03:23 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r6A73KDc051742; Wed, 10 Jul 2013 10:03:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r6A73KDc051742 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r6A73KXv051741; Wed, 10 Jul 2013 10:03:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 10 Jul 2013 10:03:19 +0300 From: Konstantin Belousov To: Dimitry Andric Subject: Re: Adding a MACHINE_ARCH note Message-ID: <20130710070319.GX91021@kib.kiev.ua> References: <20130709090744.0e497e7e@bender.Home> <32F979BD-FB5C-4111-9586-4C5E7C6DFA71@bsdimp.com> <20130709234837.559e3769@bender.Home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tWkvZsi8Zj/QU8J/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: Adrian Chadd , Andrew Turner , Baptiste Daroussin , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 07:03:24 -0000 --tWkvZsi8Zj/QU8J/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 10, 2013 at 08:54:05AM +0200, Dimitry Andric wrote: > On Jul 10, 2013, at 03:08, Peter Wemm wrote: > > On Tue, Jul 9, 2013 at 5:56 PM, Adrian Chadd wrote: > >> ... boy I'd like to see this particular x86 hiccup fixed before this > >> stuff is mainstream. > >=20 > > I'm not entirely sure how much support there is behind "x32". I don't > > know if its much more than an academic curiosity or if there's real > > demand for it. >=20 > It seems to be driven by Intel and Google. The idea is that for some > applications (or maybe even most :), an ILP32 model will perform better. > Quoting from one of the presentations: >=20 > On Core i7 2600K 3.40GHz: > - Improved SPEC CPU 2K/2006 INT geomean by 7-10% over ia32 and 5-8% over > Intel64. > - Improved SPEC CPU 2K/2006 FP geomean by 5-11% over ia32. > - Very little changes in SPEC CPU 2K/2006 FP geomean, comparing against > Intel64. > - Comparing against ia32 PIC, x32 PIC: > - Improved SPEC CPU 2K INT by another 10%. > - Improved SPEC CPU 2K FP by another 3%. > - Improved SPEC CPU 2006 INT by another 6% > - Improved SPEC CPU 2006 FP by another 2%. >=20 > As to how often it is actually used in practice, I am not sure. >=20 >=20 > > gcc-4.8 and clang have it, or have patches for it. >=20 > You also need a fairly recent binutils. And kernel + libc support... > It is probably not a trivial task. :-) You definitely need a support from libc, libthr and rtld. I am not convinced that the kernel modifications are needed, except for the image activator to recognize new ELF ids. In other words, I believe it is better to put shims into libc in the long run. --tWkvZsi8Zj/QU8J/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJR3Qc3AAoJEJDCuSvBvK1BXe8P/jZ604xf7KW+UomlRISkVuaZ ye3QQLrvoMmnRYpNiLBnJ0l3RUP/qDlRCtqTopo2f1cEo0SyXZO1b3IpFXwLZwkS L5sTOjL2IB1nSXUgQ2tQXz9uu5njwmXYapQgLXseX+9dnS6iWQeWV8+RbrgR0Ul+ ifxQ9VUaV6/97caKu7NpwWs+BVcqBtPV0DHLmvUQWChSBFpHdQdnlsb5a7YF8G5k RAycGYO0Fb8jmLOMvWDnfWbejjvfFkdJPwX71YZ6haumYBVSwC5Uj1bdBtzubzBj MFkaGHua/RrAfjiW+tTpmzCsEpxuF7ZQcBiRXM2YW8y423Wz4e++MLde7eiMa0bw ZW97IJzwIr8FO+qcZi1ELvjwpeXsaiLUEpXHi/V8oNwocp0CcEnqVmpa9K/dEN8d 3UcebAToLRsbgeLv3UbmNIRq2V6K68Vz2WoSucYGwMfkk9Qd/uyhdh2DU7YF94Sl qxLCJyUcxpjMelTLy8MV/gjrg3/tDcgl8JtCmY75RPSgzI8rO1hIJJamdXMUvHml WYr0UM4vgiojkRm9wevxNGcPuFsaT/XSCoe5cprdq9qqXxXvLVrpLd9j/RpMuBhd pXzDYvfc1C23/YkB/KeEX8WqxzbkD4nDVxRIA2Fyf8iIHgJSRSAg2cmSqNG+E57s BjUytoPT7HWq21RaUcu1 =uUfA -----END PGP SIGNATURE----- --tWkvZsi8Zj/QU8J/--