Commit graph

13 commits

Author SHA1 Message Date
r4sas
9d3d35c71c
update x86 and aes support checks at compile time
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-08-10 14:01:03 +00:00
r4sas
7a8aa37eb2
missing semicolon
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-08-10 04:18:12 +03:00
r4sas
968c6fee5b
[cpu] perform check in separate function
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-08-10 04:01:50 +03:00
r4sas
239a93485c
[cpu] use __builtin_* only on x86 systems
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-08-10 03:25:01 +03:00
r4sas
1389b85028
[cpu] remove avx detect and code blocks, try to switch to __builtin
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-08-10 03:09:21 +03:00
R4SAS
2bd6daeb8d disable aes/avx for winxp by default 2020-11-16 03:43:54 +03:00
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
2020-11-15 01:31:20 +03:00
R4SAS
8bae4975fb add copyright headers
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2020-05-22 18:14:53 +00:00
yangfl
dec848f072 use builtin __AVX__ and __AES__ macros and reduce code duplication 2018-06-27 17:32:38 +08:00
Jeff
a5cc2f3b5d define bit_* if not already defined 2018-02-19 10:15:39 -05:00
Jeff
9c93d6f931 Revert "define cpu_* if not set"
This reverts commit a077d7671f.
2018-02-19 10:15:26 -05:00
Jeff
a077d7671f define cpu_* if not set 2018-02-19 10:15:03 -05:00
Jeff Becker
7e60069968
add uncommitted files 2018-02-16 11:01:04 -05:00