mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
SPU: emit VZEROUPPER
Workaround dirty AVX high state
This commit is contained in:
parent
db83113316
commit
9b9ac3ca62
@ -157,6 +157,14 @@ void spu_recompiler::compile(spu_function_t& f)
|
||||
// Start compilation
|
||||
m_pos = f.addr;
|
||||
|
||||
if (utils::has_avx())
|
||||
{
|
||||
compiler.vzeroupper();
|
||||
//compiler.pxor(asmjit::x86::xmm0, asmjit::x86::xmm0);
|
||||
//compiler.vptest(asmjit::x86::ymm0, asmjit::x86::ymm0);
|
||||
//compiler.jnz(end_label);
|
||||
}
|
||||
|
||||
for (const u32 op : f.data)
|
||||
{
|
||||
// Bind label if initialized
|
||||
|
Loading…
Reference in New Issue
Block a user