mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-28 20:57:13 +09:00
@@ -13,7 +13,11 @@
|
||||
defined(HAVE_SMMINTRIN_H)
|
||||
|
||||
# ifdef __clang__
|
||||
# pragma clang attribute push(__attribute__((target("sse2,ssse3,sse4.1,avx2,avx512f"))), apply_to = function)
|
||||
# if __clang_major__ >= 18 && __clang_major__ < 22
|
||||
# pragma clang attribute push(__attribute__((target("sse2,ssse3,sse4.1,avx2,avx512f,evex512"))), apply_to = function)
|
||||
# else
|
||||
# pragma clang attribute push(__attribute__((target("sse2,ssse3,sse4.1,avx2,avx512f"))), apply_to = function)
|
||||
# endif
|
||||
# elif defined(__GNUC__)
|
||||
# pragma GCC target("sse2,ssse3,sse4.1,avx2,avx512f")
|
||||
# endif
|
||||
|
||||
@@ -12,7 +12,11 @@
|
||||
defined(HAVE_SMMINTRIN_H)
|
||||
|
||||
# ifdef __clang__
|
||||
# pragma clang attribute push(__attribute__((target("sse2,ssse3,sse4.1,avx2,avx512f"))), apply_to = function)
|
||||
# if __clang_major__ >= 18 && __clang_major__ < 22
|
||||
# pragma clang attribute push(__attribute__((target("sse2,ssse3,sse4.1,avx2,avx512f,evex512"))), apply_to = function)
|
||||
# else
|
||||
# pragma clang attribute push(__attribute__((target("sse2,ssse3,sse4.1,avx2,avx512f"))), apply_to = function)
|
||||
# endif
|
||||
# elif defined(__GNUC__)
|
||||
# pragma GCC target("sse2,ssse3,sse4.1,avx2,avx512f")
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user