Use ARM Advanced SIMD (NEON) intrinsics where available
authorJohn Naylor <john.naylor@postgresql.org>
Mon, 29 Aug 2022 07:32:54 +0000 (14:32 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Mon, 29 Aug 2022 07:43:03 +0000 (14:43 +0700)
commit82739d4a80f2eeb2f96b56477bb04e463ea24800
tree9b4ab49dfbf9a4be62f10602eb8e631762db96bf
parentf8f19f70868c6351b80f02a47fa65d56b728a5a2
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
src/include/port/simd.h