diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-09-21 08:20:33 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-09-21 08:20:35 -0400 |
| commit | bddcdd9d9439e9cffe383a31f49019ebab55769f (patch) | |
| tree | c20f24a7bb9101747ade999817248c65fd4fb246 /Source/Core | |
| parent | 3df83e57171bce6b1e43a87b7fa14e90d4ce2639 (diff) | |
Jit_Util: Replace two MDisp usages with MatR
Same thing, less to read.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp index c31c808e85..46b270d8e0 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp @@ -130,11 +130,11 @@ private: u32 all_ones = (1ULL << sbits) - 1; if ((all_ones & mask) == all_ones) { - MoveOpArgToReg(sbits, MDisp(RSCRATCH, 0)); + MoveOpArgToReg(sbits, MatR(RSCRATCH)); } else { - m_code->MOVZX(32, sbits, m_dst_reg, MDisp(RSCRATCH, 0)); + m_code->MOVZX(32, sbits, m_dst_reg, MatR(RSCRATCH)); m_code->AND(32, R(m_dst_reg), Imm32(mask)); if (m_sign_extend) m_code->MOVSX(32, sbits, m_dst_reg, R(m_dst_reg)); |
