Add code to detect avx512 cpu features, and allow llvm to generate avx512 instructions with llvm-3.9+. gallivm will still treat avx512 capable processors as avx2 (256-bit vectors).
No piglit regressions with llvmpipe on llvm-3.9.0 and KNL. Tim Rowley (2): gallium: detect avx512 cpu features gallivm: permit use of avx512 instructions on llvm-3.9+ src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 3 +++ src/gallium/auxiliary/util/u_cpu_detect.c | 26 ++++++++++++++++++++++++++ src/gallium/auxiliary/util/u_cpu_detect.h | 10 ++++++++++ 3 files changed, 39 insertions(+) -- 2.9.3 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
