diff options
author | Nathan Bossart | 2024-11-07 21:27:32 +0000 |
---|---|---|
committer | Nathan Bossart | 2024-11-07 21:27:32 +0000 |
commit | 41b98ddb77bf49433f174f03383533dd09bdefec (patch) | |
tree | cc2151f6d5e4f1c7cec2efcf1a461f770a5cd2da /config/c-compiler.m4 | |
parent | f78667bd910ed5af90d927bbef30b181bc798ef7 (diff) |
Fix __attribute__((target(...))) usage.
The commonly supported way to specify multiple target options is to
surround the entire list with quotes and to use a comma (with no
extra spaces) as the delimiter.
Oversight in commit f78667bd91.
Discussion: https://postgr.es/m/Zy0jya8nF8CPpv3B%40nathan
Diffstat (limited to 'config/c-compiler.m4')
-rw-r--r-- | config/c-compiler.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/c-compiler.m4 b/config/c-compiler.m4 index c7eb896f14a..a129edb88e1 100644 --- a/config/c-compiler.m4 +++ b/config/c-compiler.m4 @@ -733,7 +733,7 @@ AC_DEFUN([PGAC_AVX512_POPCNT_INTRINSICS], AC_CACHE_CHECK([for _mm512_popcnt_epi64], [Ac_cachevar], [AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <immintrin.h> #if defined(__has_attribute) && __has_attribute (target) - __attribute__((target("avx512vpopcntdq","avx512bw"))) + __attribute__((target("avx512vpopcntdq,avx512bw"))) #endif static int popcount_test(void) { |