mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 22:41:18 +12:00
Use attribute for AES-NI instead of -maes option
This commit is contained in:
parent
9fb8f4cb6b
commit
e803c6be47
6 changed files with 28 additions and 34 deletions
|
@ -1,4 +1,14 @@
|
|||
|
||||
#ifdef __GNUC__
|
||||
#define ATTRIBUTE_AVX2 __attribute__((target("avx2")))
|
||||
#define ATTRIBUTE_SSE41 __attribute__((target("sse4.1")))
|
||||
#define ATTRIBUTE_AESNI __attribute__((target("aes")))
|
||||
#else
|
||||
#define ATTRIBUTE_AVX2
|
||||
#define ATTRIBUTE_SSE41
|
||||
#define ATTRIBUTE_AESNI
|
||||
#endif
|
||||
|
||||
class CPUFeaturesImpl
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue