Introduce helper SIMD functions for small byte arrays
authorJohn Naylor <john.naylor@postgresql.org>
Wed, 6 Mar 2024 07:22:15 +0000 (14:22 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Wed, 6 Mar 2024 07:25:20 +0000 (14:25 +0700)
commit9f225e992bedd7615b48418bd53d21b6b003dd3f
tree2d2918832c13284c3f332cb9019c992a6f18cbeb
parent60c07820d62231d9110119b92cc1136df6dd4fb7
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
src/include/port/simd.h