From facde634602f670be9c2f1f35ab5ee38d4f33565 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Thu, 15 Oct 2020 19:24:00 +0300 Subject: [PATCH] PPU: fix ppu_stcx_accurate_tx Don't destroy xmm6/xmm7 state on exit. Improve addr arg handling (simplify). --- rpcs3/Emu/Cell/PPUThread.cpp | 33 +++++++++------------------------ rpcs3/Emu/Cell/SPUThread.cpp | 2 -- 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/rpcs3/Emu/Cell/PPUThread.cpp b/rpcs3/Emu/Cell/PPUThread.cpp index 82610bf088..79ee6ad250 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -1289,6 +1289,7 @@ const auto ppu_stcx_accurate_tx = build_function_asm(cpu_flag::pause)); c.jc(fail3); c.mov(x86::rax, x86::qword_ptr(x86::rbx)); @@ -1442,11 +1443,8 @@ const auto ppu_stcx_accurate_tx = build_function_asm(cpu_flag::pause)); - c.jc(fail3); c.and_(x86::rax, -128); c.cmp(x86::rax, x86::r13); c.jne(fail2);