mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
SPU LLVM: Hook up 128 bit spu verification
- Also fix FMA enablement for sapphirerapids
This commit is contained in:
parent
f9abe40494
commit
7573d7289b
3 changed files with 21 additions and 10 deletions
|
@ -4485,13 +4485,13 @@ public:
|
|||
elements = 16;
|
||||
dwords = 8;
|
||||
}
|
||||
else if (true)
|
||||
else if (m_use_avx)
|
||||
{
|
||||
stride = 32;
|
||||
elements = 8;
|
||||
dwords = 4;
|
||||
}
|
||||
else // TODO: Use this path when the cpu doesn't support AVX
|
||||
else
|
||||
{
|
||||
stride = 16;
|
||||
elements = 4;
|
||||
|
@ -4539,7 +4539,7 @@ public:
|
|||
{
|
||||
vls = m_ir->CreateAlignedLoad(_ptr<u32[16]>(data_addr, j - starta), llvm::MaybeAlign{4});
|
||||
}
|
||||
else if (true)
|
||||
else if (m_use_avx)
|
||||
{
|
||||
vls = m_ir->CreateAlignedLoad(_ptr<u32[8]>(data_addr, j - starta), llvm::MaybeAlign{4});
|
||||
}
|
||||
|
@ -4573,7 +4573,7 @@ public:
|
|||
{
|
||||
acc = m_ir->CreateBitCast(acc, get_type<u64[8]>());
|
||||
}
|
||||
else if (true)
|
||||
else if (m_use_avx)
|
||||
{
|
||||
acc = m_ir->CreateBitCast(acc, get_type<u64[4]>());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue