git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b8df690) | patch
Move check for USE_AVX512_POPCNT_WITH_RUNTIME_CHECK.
Fri, 8 Nov 2024 20:25:28 +0000 (14:25 -0600)
Fri, 8 Nov 2024 20:25:28 +0000 (14:25 -0600)
commit 4225276e25403e70de623ca9afd2c061cba24ccc
Move check for USE_AVX512_POPCNT_WITH_RUNTIME_CHECK.

Unlike TRY_POPCNT_FAST, which is defined in pg_bitutils.h, this
macro is defined in c.h (via pg_config.h), so we can check for it
earlier and avoid some unnecessary #includes on systems that lack
AVX-512 support.

Oversight in commit f78667bd91.

Discussion: https://postgr.es/m/Zy5K5Qmlb3Z4dsd4%40nathan
src/port/pg_popcount_avx512.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /