mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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
This commit is contained in:
@ -2184,7 +2184,7 @@ if host_cpu == 'x86_64'
|
||||
#include <immintrin.h>
|
||||
|
||||
#if defined(__has_attribute) && __has_attribute (target)
|
||||
__attribute__((target("avx512vpopcntdq","avx512bw")))
|
||||
__attribute__((target("avx512vpopcntdq,avx512bw")))
|
||||
#endif
|
||||
int main(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user