Re: patch postgresql for AMD64 (Opteron)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sven Geisler <sgeisler(at)aeccom(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: patch postgresql for AMD64 (Opteron)
Date: 2006-06-09 16:31:08
Message-ID: 12854.1149870668@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sven Geisler <sgeisler(at)aeccom(dot)com> writes:
> I created a patch for PostgreSQL and x86 architecture.
> This patch address a Opteron-specific
> behavior regarding some assembler statements.

AFAICT this patch essentially proposes that we should allow the single
case of an Opteron running in 32-bit mode to determine our optimization
strategy for all 32-bit Intel. Tail wagging dog, no?

As the comment notes, it's not real clear that the separate cmpb is a
win on average, but this case is not the average case I'm interested in.
If you want to make an argument for removing the cmpb you need to
provide numbers on mainstream 32-bit platforms.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2006-06-09 16:39:15 Re: Fabian Pascal and RDBMS deficiencies in fully
Previous Message A.M. 2006-06-09 16:29:59 Re: Fabian Pascal and RDBMS deficiencies in fully