mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
move x86 asm to intrinsics, e2k aes-ni/avx support
Signed-off-by: contextswap <ctxswp@proton.me>
This commit is contained in:
parent
a9e9e14c42
commit
1509349fec
4 changed files with 221 additions and 262 deletions
|
@ -50,6 +50,14 @@ namespace cpu
|
|||
}
|
||||
}
|
||||
#endif // defined(__x86_64__) || defined(__i386__)
|
||||
#ifdef __e2k__
|
||||
#ifdef __AES__
|
||||
aesni = true;
|
||||
#endif
|
||||
#ifdef __AVX__
|
||||
avx = true;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
LogPrint(eLogInfo, "AESNI ", (aesni ? "enabled" : "disabled"));
|
||||
LogPrint(eLogInfo, "AVX ", (avx ? "enabled" : "disabled"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue