postgresql/src/include/port
John Naylor af0c248557 Use function attributes for SSE 4.2 even when targeting that extension
On Red Hat 9 systems (or similar), the packaged gcc targets x86-64-v2,
but clang does not. This has caused build failures in the wake of
commit e2809e3a1 when building --with-llvm.

The most expedient fix is to use the same function attributes for
the inlined function as we do for the global function.

Reported-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> (plus members skimmer and bumblebee)
Diagnosed-by: Tom Lane <tgl@sss.pgh.pa.us>
Tested-by: Todd Cook <cookt@blackduck.com>
Discussion: https://postgr.es/m/CANWCAZZSxs3a1YRKehkgk2OHKbrVn+xZ+AWW8Co2R_f70NqqmA@mail.gmail.com
2025-04-01 12:01:58 +07:00
..
atomics Update copyright for 2025 2025-01-01 11:21:55 -05:00
win32 Fix gai_strerror() thread-safety on Windows. 2024-02-12 11:14:21 +13:00
win32_msvc windows: msvc: Define STDIN/OUT/ERR_FILENO. 2022-07-18 17:21:54 -07:00
atomics.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
cygwin.h Simplify declaring variables exported from libpgcommon and libpgport. 2021-11-29 11:00:00 -05:00
darwin.h Add prefetching support on macOS 2024-08-28 07:28:27 +02:00
freebsd.h Improve the naming in wal_sync_method code. 2023-10-13 15:16:45 -05:00
linux.h Improve the naming in wal_sync_method code. 2023-10-13 15:16:45 -05:00
netbsd.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
openbsd.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pg_bitutils.h Optimize popcount functions with ARM SVE intrinsics. 2025-03-28 16:20:20 -05:00
pg_bswap.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pg_crc32c.h Use function attributes for SSE 4.2 even when targeting that extension 2025-04-01 12:01:58 +07:00
pg_iovec.h Increase io_combine_limit range to 1MB. 2025-03-19 15:40:35 +13:00
pg_lfind.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pg_pthread.h IWYU widely useful pragmas 2025-01-15 18:57:53 +01:00
simd.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
solaris.h Remove obsolete HAVE_BUGGY_SOLARIS_STRTOD 2020-08-15 11:27:41 +02:00
win32.h mingw: Define PGDLLEXPORT as __declspec (dllexport) as done for msvc 2022-09-30 10:50:05 -07:00
win32_port.h Revert "Tidy up locale thread safety in ECPG library." 2025-03-28 21:27:37 +01:00
win32ntdll.h Update copyright for 2025 2025-01-01 11:21:55 -05:00