mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 19:57:48 +02:00
test with gh workflows
This commit is contained in:
parent
20e08b827e
commit
97ccf21030
5 changed files with 9 additions and 7 deletions
|
@ -37,11 +37,11 @@ namespace cpu
|
|||
__cpuid(0x00000001, info[0], info[1], info[2], info[3]);
|
||||
#ifdef __AES__
|
||||
if ((info[2] & bit_AES || __builtin_cpu_supports("aes")) && AesSwitch) {
|
||||
aesni = true; // AESNI
|
||||
aesni = true;
|
||||
}
|
||||
#endif // __AES__
|
||||
if ((info[2] & bit_AVX || __builtin_cpu_supports("avx")) && AvxSwitch) {
|
||||
avx = true; // AVX
|
||||
avx = true;
|
||||
}
|
||||
}
|
||||
#endif // defined(__x86_64__) || defined(__i386__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue