mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-19 21:46:54 +02:00
AES optimization rabbit hole
This commit is contained in:
parent
87fe69c27c
commit
1f9e16f63e
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@
|
|||
*/
|
||||
/****/
|
||||
|
||||
/* This is done in plain C because the compiler (at least GCC and CLANG) seem
|
||||
* to do a *slightly* better job optimizing this intrinsic code when compiling
|
||||
* plain C. C also gives us the register hint keyword, which seems to actually
|
||||
* make a small difference. */
|
||||
|
||||
#if (defined(__amd64) || defined(__amd64__) || defined(__x86_64) || defined(__x86_64__) || defined(__AMD64) || defined(__AMD64__) || defined(_M_X64))
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue