pgsql: Introduce helper SIMD functions for small byte arrays

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Introduce helper SIMD functions for small byte arrays
Date: 2024-03-06 07:33:02
Message-ID: E1rhllu-002Mec-JX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Introduce helper SIMD functions for small byte arrays

vector8_min - helper for emulating ">=" semantics

vector8_highbit_mask - used to turn the result of a vector
comparison into a bitmask

Masahiko Sawada

Reviewed by Nathan Bossart, with additional adjustments by me
Discussion: https://postgr.es/m/CAFBsxsHbBm_M22gLBO%2BAZT4mfMq3L_oX3wdKZxjeNnT7fHsYMQ%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9f225e992bedd7615b48418bd53d21b6b003dd3f

Modified Files
--------------
src/include/port/simd.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2024-03-06 07:33:03 pgsql: Move some bitmap logic out of bitmapset.c
Previous Message Amit Kapila 2024-03-06 06:02:33 pgsql: Doc: Improve replication slot synchronization section.