Re: AIX support - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: AIX support
Date
Msg-id CA+hUKGLM7j65kEf9p_v11s+aonjZztyS_3xmAOeuzmcrOQ+P8w@mail.gmail.com
Whole thread Raw
In response to Re: AIX support  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On Mon, Apr 7, 2025 at 10:04 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> I'm surprised how big the difference is, because I actually expected the
> compiler to detect the memory-zeroing loop and replace it with some
> fancy vector instructions (does powerpc have any?).

It certainly does, and we've played with explicit AltiVec
vectorisation before with the idea that our abstraction over x86 and
ARM instructions could be extended to POWER, but that was just trying
stuff and learning while wondering if those abstractions are general
enough and how well all the instructions match up.  No one with modern
hardware and a vested interest has seriously investigated it.  That's
independent of automatic vectorisation done by the compiler or libc,
and I guess it would not really be AIX-specific since it would also
apply to Linux on POWER.  One of those patches is linked from this
small list of "ideas for a future PostgreSQL/AIX maintainer":

https://wiki.postgresql.org/wiki/AIX



pgsql-hackers by date:

Previous
From: Tender Wang
Date:
Subject: Re: Typos in the comment for the estimate_multivariate_ndistinct()
Next
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: Fix premature xmin advancement during fast forward decoding