Introduce helper SIMD functions for small byte arrays

John Naylor <john.naylor@postgresql.org>

Commit: 9f225e992bedd7615b48418bd53d21b6b003dd3f
Author: John Naylor <john.naylor@postgresql.org>
Date: 2024-03-06T07:25:20Z
Releases: 17.0
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

Files

PathChange+/−
src/include/port/simd.h modified +47 −0

Discussion