Commit Graph

14 Commits (1857f14be86aa360c90f7baab0d7013f10f22632)

Author SHA1 Message Date
r4sas 1857f14be8
[cpu] use short defines instead of long checks
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
orignal 918aa556ef fixed non-x86 build 9 months ago
r4sas 4ed19c05f6
[cpu] split AES detect for GNU C < 5
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
r4sas 4a5e16b994
[cpu] tests with preprocessor
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
r4sas c53ad2012c
[cpu] use cpuid on gcc < 5
Signed-off-by: r4sas <r4sas@i2pmail.org>
10 months ago
R4SAS 7b6aa41ca8
CPU: remove AVX code, switch to __builtin for AES detection (#1959)
* [cpu] remove avx detect and code blocks, try to switch to __builtin
* [cpu] use __builtin_* only on x86 systems
* [cpu] perform check in separate function
* [cpu] set AES definition on MSVC
* update x86 and aes support checks at compile time
* [cmake] update comment about AES on MSVC
10 months ago
R4SAS 2bd6daeb8d disable aes/avx for winxp by default 4 years ago
R4SAS 62cd9fffa3
Automate AES-NI and AVX detection on runtime, make it default on x86-based systems (#1578)
Rework CPU extensions detection code and build with AES-NI and AVX support by default
4 years ago
R4SAS 8bae4975fb add copyright headers
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
yangfl dec848f072 use builtin __AVX__ and __AES__ macros and reduce code duplication 6 years ago
Jeff a5cc2f3b5d define bit_* if not already defined 6 years ago
Jeff 9c93d6f931 Revert "define cpu_* if not set"
This reverts commit a077d7671f.
6 years ago
Jeff a077d7671f define cpu_* if not set 6 years ago
Jeff Becker 7e60069968
add uncommitted files 6 years ago