pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Abstract some more architecture-specific details away from SIMD
Date: Mon, 29 Aug 2022 07:31:11 +0000
Message-ID: <E1oSZEk-000QOV-KH@gemulon.postgresql.org> (raw)

Abstract some more architecture-specific details away from SIMD functionality

Add a typedef to represent vectors containing four 32-bit integers,
and add functions operating on them. Also separate out saturating
subtraction into its own function. The motivation for this is to
prepare for a future commit to add ARM NEON support.

Nathan Bossart

Reviewed by John Naylor and Tom Lane
Discussion: https://www.postgresql.org/message-id/flat/CAFBsxsEyR9JkfbPcDXBRYEfdfC__OkwVGdwEAgY4Rv0cvw35EA%40mai...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f8f19f70868c6351b80f02a47fa65d56b728a5a2

Modified Files
--------------
src/include/port/pg_lfind.h | 65 +++++++++++++++++------------
src/include/port/simd.h     | 99 +++++++++++++++++++++++++++++++++++++--------
2 files changed, 121 insertions(+), 43 deletions(-)



Message-ID: <E1oSZEk-000QOV-KH@gemulon.postgresql.org>
Permalink:  ../E1oSZEk-000QOV-KH@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oSZEk-000QOV-KH@gemulon.postgresql.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-committers@postgresql.org
  Cc: john.naylor@postgresql.org
  Subject: Re: pgsql: Abstract some more architecture-specific details away from SIMD
  In-Reply-To: <E1oSZEk-000QOV-KH@gemulon.postgresql.org>
  References: <E1oSZEk-000QOV-KH@gemulon.postgresql.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