summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_cpu_detect.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-04-07 13:41:52 -0600
committerBrian Paul <[email protected]>2011-04-07 13:41:52 -0600
commitef2c80f5064b2d1830cea5bbcacde850138d54c4 (patch)
tree346b7e66e72255bd83648df9ec59810319d42484 /src/gallium/auxiliary/util/u_cpu_detect.h
parent1e105741f1e0ae4946febb41c844ed5741a54ec1 (diff)
util: add cpu detection for sse 4.2 and avx
Diffstat (limited to 'src/gallium/auxiliary/util/u_cpu_detect.h')
-rw-r--r--src/gallium/auxiliary/util/u_cpu_detect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_cpu_detect.h b/src/gallium/auxiliary/util/u_cpu_detect.h
index f3bef0993c7..856e8d7a0ef 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.h
+++ b/src/gallium/auxiliary/util/u_cpu_detect.h
@@ -53,6 +53,8 @@ struct util_cpu_caps {
unsigned has_sse3:1;
unsigned has_ssse3:1;
unsigned has_sse4_1:1;
+ unsigned has_sse4_2:1;
+ unsigned has_avx:1;
unsigned has_3dnow:1;
unsigned has_3dnow_ext:1;
unsigned has_altivec:1;