pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James H. Cloos Jr. <cloos@jhcloos.com>
To: Ron Johnson <ron.l.johnson@cox.net>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Subject: Re: x86-64 and PostgreSQL
Date: 21 Jan 2003 03:21:03 -0500
Message-ID: <m3of6aewwg.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <1043064363.15592.187.camel@haggis>
References: <3E2BE4BF.28150.D33005A@localhost>
	<3E2C15E6.9191.DF2FEFC@localhost>
	<1043064363.15592.187.camel@haggis>

>>>>> "Ron" == Ron Johnson <ron.l.johnson@cox.net> writes:

Ron> Also, since (at least on the gcc-3.2 compiler) a "long" and "int"
Ron> are still 32 bits (64 bit scalars are of type "long long"),

According to the draft x86-64 psABI¹, which is to become the 
System V psABI for the x86-64 architecture, sizeof(long) == 8.

This does seem necessary as most code tends to presume that an
unsigned long can hold a pointer....

-JimC

¹ http://www.x86-64.org/abi.pdf




view thread (10+ messages)

Message-ID: <m3of6aewwg.fsf@lugabout.jhcloos.org>
Permalink:  ../m3of6aewwg.fsf@lugabout.jhcloos.org/
Also on:    postgresql.org/message-id/m3of6aewwg.fsf@lugabout.jhcloos.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: cloos@jhcloos.com, ron.l.johnson@cox.net
  Subject: Re: x86-64 and PostgreSQL
  In-Reply-To: <m3of6aewwg.fsf@lugabout.jhcloos.org>
  References: <3E2BE4BF.28150.D33005A@localhost> <3E2C15E6.9191.DF2FEFC@localhost> <1043064363.15592.187.camel@haggis> <m3of6aewwg.fsf@lugabout.jhcloos.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox