From f0ee648527e54c465e398d993db892af61a228da Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Wed, 22 Jan 2025 14:11:37 -0600 Subject: [PATCH] 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. --- src/include/port/pg_bitutils.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.5