diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-13 03:18:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-13 03:18:33 +0300 |
commit | ba212fef9f998b7ed6be9834313c46087ba30c98 (patch) | |
tree | 4e4ea58244ea88b246d18a39db6c05313fc5773b /src/utils/cpu.h | |
parent | 811479d52ba27e62a07f4a0c3a3d8d7ddae38ee7 (diff) | |
download | manaverse-ba212fef9f998b7ed6be9834313c46087ba30c98.tar.gz manaverse-ba212fef9f998b7ed6be9834313c46087ba30c98.tar.bz2 manaverse-ba212fef9f998b7ed6be9834313c46087ba30c98.tar.xz manaverse-ba212fef9f998b7ed6be9834313c46087ba30c98.zip |
Add into detected cpu features avx and avx2.
Diffstat (limited to 'src/utils/cpu.h')
-rw-r--r-- | src/utils/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/cpu.h b/src/utils/cpu.h index 1a81ca788..2780795bd 100644 --- a/src/utils/cpu.h +++ b/src/utils/cpu.h @@ -33,7 +33,9 @@ namespace Cpu FEATURE_SSE2 = 4, FEATURE_SSSE3 = 8, FEATURE_SSE4 = 16, - FEATURE_SSE42 = 32 + FEATURE_SSE42 = 32, + FEATURE_AVX = 64, + FEATURE_AVX2 = 128 }; void detect(); |