aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/pg_bitutils.h
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2025-01-22 14:11:37 -0600
committerNathan Bossart <nathan@postgresql.org>2025-01-22 14:11:37 -0600
commitf0ee648527e54c465e398d993db892af61a228da (patch)
treeec1391debbf3d3b5189edc884e66db9db46242da /src/include/port/pg_bitutils.h
parentea68ea6320ff84f55cf30dff1af662fc0bf5dafa (diff)
downloadpostgresql-f0ee648527e54c465e398d993db892af61a228da.tar.gz
postgresql-f0ee648527e54c465e398d993db892af61a228da.zip
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.
Diffstat (limited to 'src/include/port/pg_bitutils.h')
-rw-r--r--src/include/port/pg_bitutils.h4
1 files changed, 1 insertions, 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);