CPU/Recompiler: Implement lwl/lwr/swl/swr

This commit is contained in:
Connor McLaughlin
2020-10-18 14:44:32 +10:00
parent 7566c45f64
commit 51eff82eb6
3 changed files with 110 additions and 0 deletions

View File

@ -308,6 +308,10 @@ public:
/// Stores the specified value to the guest register after the next instruction (load delay).
void WriteGuestRegisterDelayed(Reg guest_reg, Value&& value);
/// Returns the current target for a load delay, or Reg::count.
Reg GetLoadDelayRegister() const { return m_state.load_delay_register; }
const Value& GetLoadDelayValue() const { return m_state.load_delay_value; }
/// Moves load delay to the next load delay, and writes any previous load delay to the destination register.
void UpdateLoadDelay();