From: | John Naylor <john(dot)naylor(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Abstract some more architecture-specific details away from SIMD |
Date: | 2022-08-29 07:31:11 |
Message-ID: | E1oSZEk-000QOV-KH@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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%40mail.gmail.com#aba7a64b11503494ffd8dd27067626a9
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | John Naylor | 2022-08-29 07:44:57 | pgsql: Use ARM Advanced SIMD (NEON) intrinsics where available |
Previous Message | David Rowley | 2022-08-29 05:15:35 | pgsql: Improve performance of and reduce overheads of memory management |