diff options
author | Tim Rowley <timothy.o.rowley@intel.com> | 2016-10-10 11:07:03 -0500 |
---|---|---|
committer | Tim Rowley <timothy.o.rowley@intel.com> | 2016-10-11 11:48:23 -0500 |
commit | f4684cdb5fe215a7c7b413e50ff231be85d9b207 (patch) | |
tree | 1ecf831e3631ddf3907df974b4cdb0ff5a59619b /src/gallium/drivers/swr | |
parent | 185a531206e6d3c6d129ad91657432a67e254cba (diff) | |
download | external_mesa3d-f4684cdb5fe215a7c7b413e50ff231be85d9b207.zip external_mesa3d-f4684cdb5fe215a7c7b413e50ff231be85d9b207.tar.gz external_mesa3d-f4684cdb5fe215a7c7b413e50ff231be85d9b207.tar.bz2 |
swr: [rasterizer jitter] remove architecture override
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp index 18bbbe7..5021fe2 100644 --- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp +++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp @@ -111,47 +111,7 @@ JitManager::JitManager(uint32_t simdWidth, const char *arch, const char* core) StringRef hostCPUName; - // force JIT to use the same CPU arch as the rest of swr - if(mArch.AVX512F()) - { - assert(0 && "Implement AVX512 jitter"); - hostCPUName = sys::getHostCPUName(); - if (mVWidth == 0) - { - mVWidth = 16; - } - } - else if(mArch.AVX2()) - { - hostCPUName = StringRef("core-avx2"); - if (mVWidth == 0) - { - mVWidth = 8; - } - } - else if(mArch.AVX()) - { - if (mArch.F16C()) - { - hostCPUName = StringRef("core-avx-i"); - } - else - { - hostCPUName = StringRef("corei7-avx"); - } - if (mVWidth == 0) - { - mVWidth = 8; - } - } - else - { - hostCPUName = sys::getHostCPUName(); - if (mVWidth == 0) - { - mVWidth = 8; // 4? - } - } + hostCPUName = sys::getHostCPUName(); EB.setMCPU(hostCPUName); |