mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
swr: [rasterizer jitter] remove architecture override
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
parent
185a531206
commit
f4684cdb5f
1 changed files with 1 additions and 41 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue