mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-19 03:39:54 +00:00
PPU LLVM: Fix LWSYNC according to cellSpursWakeup
This commit is contained in:
parent
300701a06b
commit
1c36156594
@ -3293,8 +3293,8 @@ void PPUTranslator::LFSUX(ppu_opcode_t op)
|
||||
void PPUTranslator::SYNC(ppu_opcode_t op)
|
||||
{
|
||||
// sync: Full seq cst barrier
|
||||
// lwsync: Acq/Release barrier
|
||||
m_ir->CreateFence(op.l10 ? AtomicOrdering::AcquireRelease : AtomicOrdering::SequentiallyConsistent);
|
||||
// lwsync: Acq/Release barrier (but not really it seems from observing libsre.sprx)
|
||||
m_ir->CreateFence(op.l10 && false ? AtomicOrdering::AcquireRelease : AtomicOrdering::SequentiallyConsistent);
|
||||
}
|
||||
|
||||
void PPUTranslator::LFDX(ppu_opcode_t op)
|
||||
|
Loading…
x
Reference in New Issue
Block a user