Re: Sizeof long and int for 64 bit OS

From: Måns Rullgård (mru_at_inprovide.com)
Date: 05/20/05


Date: Fri, 20 May 2005 16:03:36 +0200

Mikko Rauhala <mjr@iki.fi> writes:

> On Fri, 20 May 2005 12:56:48 +0000 (UTC), Victor Wagner <vitus@45.free.net>
> wrote:
>> Not only. Typically, on most modern architectures most utilities run a
>> bit faster an consume less memory if compiled 32-bit.
>
> Yep, this is true. However, as the architecture is quickly gaining
> popularity, I deem it useful to add that on amd64 spesifically this
> isn't generally quite true (well, for the speed part anyway).
>
> Of course, this is mostly due to there being more general purpose
> registers available in 64-bit mode on that architecture and not any
> "64-bit magic" which seems to govern marketing.

The amd64 32-bit mode is an emulation of an old 32-bit x86 CPU,
including all its deficiencies. The 32-bit mode available on some
other machines is only limiting the address space, while still
providing full 64-bit math etc.

-- 
Måns Rullgård
mru@inprovide.com


Relevant Pages

  • Re: Sizeof long and int for 64 bit OS
    ... on most modern architectures most utilities run a ... > bit faster an consume less memory if compiled 32-bit. ... as the architecture is quickly gaining ...
    (comp.unix.programmer)
  • Re: hi QUESTION
    ... Do you even understand "Architecture" of computers. ... This architecture in particular is the Processor of the HP-UX machines ... This is the Itanium version of Debian Linux. ...
    (Debian-User)
  • [opensuse] Re: [opensuse-ppc] No More Official PPC Distro
    ... amount of worth out of older machines would also benefit. ... Today's world is one where the x86 architecture is not absolutely ... Michael Loeffler about why there wasn't a PPC version of 11.2: ... an openSUSE ppc distribution." ...
    (SuSE)
  • Re: Different Implementations of VLIW .
    ... Multiflows were not regarded as niche machines. ... general purpose minisupecomputers. ... alpha was a lousy architecture because it isn't available any more. ... possibly Flex (if one regards simple bus connected micros as ...
    (comp.arch)
  • Re: Dealing with marketing types...
    ... The linked page links to a PDF describing the architecture. ... You gave it as a counter example to the LAMP ... > many servers and taking 20x as much traffic as Slashdot, ... user request can trigger searches from hundreds of machines. ...
    (comp.lang.python)