Skip to content

Commit f0ee648

Browse files
Fix comment about AVX-512 popcount support.
Since commit f78667b, 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.
1 parent ea68ea6 commit f0ee648

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/include/port/pg_bitutils.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,7 @@ extern PGDLLIMPORT uint64 (*pg_popcount_masked_optimized) (const char *buf, int
307307

308308
/*
309309
* We can also try to use the AVX-512 popcount instruction on some systems.
310-
* The implementation of that is located in its own file because it may
311-
* require special compiler flags that we don't want to apply to any other
312-
* files.
310+
* The implementation of that is located in its own file.
313311
*/
314312
#ifdef USE_AVX512_POPCNT_WITH_RUNTIME_CHECK
315313
extern bool pg_popcount_avx512_available(void);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy