From owner-freebsd-alpha Wed Jul 3 9: 2:40 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B36137B400 for ; Wed, 3 Jul 2002 09:02:38 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5843D43E31 for ; Wed, 3 Jul 2002 09:02:36 -0700 (PDT) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g63G2RMa069092 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 3 Jul 2002 18:02:29 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g63G2RFJ013316 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 3 Jul 2002 18:02:27 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g63G2RYw013315; Wed, 3 Jul 2002 18:02:27 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 3 Jul 2002 18:02:26 +0200 From: Bernd Walter To: Dag-Erling Smorgrav Cc: Jan Lentfer , freebsd-alpha@FreeBSD.ORG Subject: Re: Size of Alpha binaries Message-ID: <20020703160226.GB70344@cicely5.cicely.de> Reply-To: ticso@cicely.de References: <3D231418.1020406@web.de> <3D23160F.4070909@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jul 03, 2002 at 05:24:23PM +0200, Dag-Erling Smorgrav wrote: > Jan Lentfer writes: > > Dag-Erling Smorgrav schrieb: > > > Alpha is a 64-bit platform, i386 is a 32-bit platform. > > Thanks :-), I knew that, but how does this cause bigger binaries? > > Think about it: all pointers are twice as large; some integer types > are larger; structures and static data have more padding; instructions > that involve pointers or integer literals (e.g. function calls) are > larger... And it's a RISC architecture no complex instructions - that means you often need more instructions. And all instructions are equal in length, while i386 has some shorter instructions. Finaly the gcc on 4.x does a lot of padding. gcc-3.1 compiled binaries are usually smaller. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message