OSDN Git Service

swr/rast: Use new processor detection mechanism
authorGeorge Kyriazis <george.kyriazis@intel.com>
Tue, 24 Apr 2018 16:13:54 +0000 (11:13 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 27 Apr 2018 19:36:41 +0000 (14:36 -0500)
commitf276517ebfe45c1400b7c283ead99a9e35e9f5ae
tree8cec102a2db0f9fdc09fded8f2193e89d829a6e6
parent8ace547e8d743dcc51fc3b72ba30067f85232996
swr/rast: Use new processor detection mechanism

Use specific avx512 selection mechanism based on avx512er bit instead of
getHostCPUName().  LLVM 6.0.0 has a bug that reports wrong string for KNL
(fixed in 6.0.1).

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
src/gallium/drivers/swr/rasterizer/jitter/JitManager.h