From: Nathan Bossart Date: Wed, 22 Jan 2025 20:11:37 +0000 (-0600) Subject: Fix comment about AVX-512 popcount support. X-Git-Tag: REL_18_BETA1~1039 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0ee648527e54c465e398d993db892af61a228da;p=thirdparty%2Fpostgresql.git Fix comment about AVX-512 popcount support. Since commit f78667bd91, we've used __attribute__((target(...))) instead of extra compiler flags for AVX-512 support, but this comment still says that we put the code in a separate file because it might require extra compiler flags. Let's just remove that part of the comment. --- diff --git a/src/include/port/pg_bitutils.h b/src/include/port/pg_bitutils.h index f8d6fb50b6a..62554ce685a 100644 --- a/src/include/port/pg_bitutils.h +++ b/src/include/port/pg_bitutils.h @@ -307,9 +307,7 @@ extern PGDLLIMPORT uint64 (*pg_popcount_masked_optimized) (const char *buf, int /* * We can also try to use the AVX-512 popcount instruction on some systems. - * The implementation of that is located in its own file because it may - * require special compiler flags that we don't want to apply to any other - * files. + * The implementation of that is located in its own file. */ #ifdef USE_AVX512_POPCNT_WITH_RUNTIME_CHECK extern bool pg_popcount_avx512_available(void);