summaryrefslogtreecommitdiff
path: root/src/utils/cpu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-13 03:18:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-13 03:18:33 +0300
commitba212fef9f998b7ed6be9834313c46087ba30c98 (patch)
tree4e4ea58244ea88b246d18a39db6c05313fc5773b /src/utils/cpu.h
parent811479d52ba27e62a07f4a0c3a3d8d7ddae38ee7 (diff)
downloadmanaverse-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.h4
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();