more explanation

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

View file

@ -50,7 +50,9 @@ namespace cpu
}
}
#endif // defined(__x86_64__) || defined(__i386__)
#ifdef __e2k__
#ifdef __e2k__ // The reason this kind of static config is ok for Elbrus is because there are
// much less hardware revisions than x86, and a binary compiled
// on a newer Elbrus CPU will outright not work on a older model anyway.
#ifdef __AES__
aesni = true;
#endif