From owner-freebsd-arch@FreeBSD.ORG Fri Oct 5 11:23:31 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5773B106574F; Fri, 5 Oct 2012 11:23:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id A96DE8FC14; Fri, 5 Oct 2012 11:23:30 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q95BNPB6001609; Fri, 5 Oct 2012 14:23:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q95BNDcl075848; Fri, 5 Oct 2012 14:23:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q95BND98075847; Fri, 5 Oct 2012 14:23:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 5 Oct 2012 14:23:13 +0300 From: Konstantin Belousov To: Dag-Erling Sm??rgrav Message-ID: <20121005112313.GN35915@deviant.kiev.zoral.com.ua> References: <506C385C.3020400@FreeBSD.org> <506DEB4C.5020508@andric.com> <86haq9hq2c.fsf@ds4.des.no> <20121005033244.GL35915@deviant.kiev.zoral.com.ua> <86y5jll7kc.fsf@ds4.des.no> <86txu9l4z9.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EM2WAHSp0JAC5kZ2" Content-Disposition: inline In-Reply-To: <86txu9l4z9.fsf@ds4.des.no> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Garrett Cooper , Dimitry Andric , Andriy Gapon , freebsd-arch@freebsd.org Subject: Re: x86 boot code build X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2012 11:23:31 -0000 --EM2WAHSp0JAC5kZ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 05, 2012 at 10:04:26AM +0200, Dag-Erling Sm??rgrav wrote: > Garrett Cooper writes: > > I would target the appropriate architecture (amd64) where it matters > > (amd64), and target the lowest sane common denominator on i386. In > > reality, what does a couple MB mean on amd64 vs i386? >=20 > 1) Nobody mentioned amd64 - this is about i386. >=20 > 2) It's not a question of *size* but of *performance*. By targeting the > least capable platform that our users are likely to encounter > (pentium-mmx) instead of one which is virtually eradicated (486), we > can use features that are available on the former but not the latter. So what ISA additions do you expect to get advantage of by switching to pentium-mmx from 486 ? As I already said, I am not aware of any. I can only think of cmpxchg8b, which would eventually allow to implement 64bit atomics on i386, but this has nothing to do with the compiler. >=20 > Someone said they'd like to target SSE2, but that would leave many > common embedded systems out in the cold. If we do that, we should > provide two sets of binaries; one set for sse2-capable machines > (which covers all i386 desktop and server machines made in the last > ten years) and one set for pentium-mmx (which covers the soekris and > other popular SFF / embedded systems). >=20 > DES > --=20 > Dag-Erling Sm??rgrav - des@des.no --EM2WAHSp0JAC5kZ2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlBuwyEACgkQC3+MBN1Mb4jzGwCg3uct1G5C17tJW0mU8Du9PhQ2 7osAoPAqWb6iSzXLJL+Ytd+WNjxchcVm =nVAM -----END PGP SIGNATURE----- --EM2WAHSp0JAC5kZ2--