pgsql: Use ARM Advanced SIMD (NEON) intrinsics where available

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use ARM Advanced SIMD (NEON) intrinsics where available
Date: 2022-08-29 07:44:57
Message-ID: E1oSZS5-000QTv-19@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use ARM Advanced SIMD (NEON) intrinsics where available

NEON support is required on the Aarch64 architecture for standard
implementations. Hardware designers for specialized markets can choose
not to support it, but that's true of floating point as well, which
we assume is supported. As with x86, some SIMD support is available
on 32-bit platforms, but those are not interesting from a performance
standpoint and would require an inconvenient runtime check.

Nathan Bossart

Reviewed by John Naylor, Andres Freund, Thomas Munro, 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/82739d4a80f2eeb2f96b56477bb04e463ea24800

Modified Files
--------------
src/include/port/simd.h | 40 +++++++++++++++++++++++++++++++++++++---
1 file changed, 37 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2022-08-29 10:45:43 pgsql: Fix broken cast on MSVC
Previous Message John Naylor 2022-08-29 07:31:11 pgsql: Abstract some more architecture-specific details away from SIMD