projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: add avx2 and xop detection to cpu detection code
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_cpu_detect.h
diff --git
a/src/gallium/auxiliary/util/u_cpu_detect.h
b/src/gallium/auxiliary/util/u_cpu_detect.h
index cc3e0ce03443f80d53f4df6f8ae73ee52a631e7e..5ccfc931697f25e089474f58a27adc0af8f6d892 100644
(file)
--- a/
src/gallium/auxiliary/util/u_cpu_detect.h
+++ b/
src/gallium/auxiliary/util/u_cpu_detect.h
@@
-64,9
+64,11
@@
struct util_cpu_caps {
unsigned has_sse4_2:1;
unsigned has_popcnt:1;
unsigned has_avx:1;
+ unsigned has_avx2:1;
unsigned has_f16c:1;
unsigned has_3dnow:1;
unsigned has_3dnow_ext:1;
+ unsigned has_xop:1;
unsigned has_altivec:1;
unsigned has_daz:1;
};