[Mesa-dev] [PATCH 0/2] avx512 initial usage

Tim Rowley timothy.o.rowley at intel.com
Thu Nov 3 21:29:10 UTC 2016


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



More information about the mesa-dev mailing list