more booleans

Signed-off-by: contextswap <ctxswp@proton.me>
This commit is contained in:
contextswap 2023-05-04 05:17:29 +09:00
parent 13452604eb
commit 0467d5c698
No known key found for this signature in database
GPG key ID: 06A0B660A90A787B

View file

@ -54,10 +54,10 @@ namespace cpu
// much less hardware revisions than x86, and a binary compiled // much less hardware revisions than x86, and a binary compiled
// on a newer Elbrus CPU will outright not work on a older model anyway. // on a newer Elbrus CPU will outright not work on a older model anyway.
#ifdef __AES__ #ifdef __AES__
aesni = true; if (AesSwitch) aesni = true;
#endif #endif
#ifdef __AVX__ #ifdef __AVX__
avx = true; if (AvxSwitch) avx = true;
#endif #endif
#endif #endif