mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 12:31:45 +01:00
rsx: Use relaxed store on fifo ctrl registers
This commit is contained in:
parent
a3f65084df
commit
801e6114b6
@ -60,8 +60,7 @@ namespace rsx
|
||||
}
|
||||
|
||||
// Update ctrl registers
|
||||
m_ctrl->get = get;
|
||||
m_internal_get = get;
|
||||
m_ctrl->get.release(m_internal_get = get);
|
||||
m_remaining_commands = 0;
|
||||
|
||||
// Clear memwatch spinner
|
||||
@ -167,7 +166,7 @@ namespace rsx
|
||||
|
||||
if (!count)
|
||||
{
|
||||
m_ctrl->get.store(m_internal_get + 4);
|
||||
m_ctrl->get.release(m_internal_get + 4);
|
||||
data.reg = FIFO_NOP;
|
||||
return;
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ namespace rsx
|
||||
~FIFO_control() {}
|
||||
|
||||
u32 get_pos() { return m_internal_get; }
|
||||
void sync_get() { m_ctrl->get.store(m_internal_get); }
|
||||
void sync_get() { m_ctrl->get.release(m_internal_get); }
|
||||
void inc_get(bool wait);
|
||||
void set_get(u32 get);
|
||||
void set_put(u32 put);
|
||||
|
Loading…
x
Reference in New Issue
Block a user