Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 18:02:26 +0200
From:      Bernd Walter <ticso@cicely5.cicely.de>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Jan Lentfer <Jan.Lentfer@web.de>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: Size of Alpha binaries
Message-ID:  <20020703160226.GB70344@cicely5.cicely.de>
In-Reply-To: <xzpfzz06di0.fsf@flood.ping.uio.no>
References:  <3D231418.1020406@web.de> <xzpofdo6dt1.fsf@flood.ping.uio.no> <3D23160F.4070909@web.de> <xzpfzz06di0.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 03, 2002 at 05:24:23PM +0200, Dag-Erling Smorgrav wrote:
> Jan Lentfer <Jan.Lentfer@web.de> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020703160226.GB70344>