Jit_Util: Replace two MDisp usages with MatR

Same thing, less to read.
This commit is contained in:
Lioncash 2015-09-21 08:20:33 -04:00
parent 3df83e5717
commit bddcdd9d94
1 changed files with 2 additions and 2 deletions

View File

@ -130,11 +130,11 @@ private:
u32 all_ones = (1ULL << sbits) - 1; u32 all_ones = (1ULL << sbits) - 1;
if ((all_ones & mask) == all_ones) if ((all_ones & mask) == all_ones)
{ {
MoveOpArgToReg(sbits, MDisp(RSCRATCH, 0)); MoveOpArgToReg(sbits, MatR(RSCRATCH));
} }
else 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)); m_code->AND(32, R(m_dst_reg), Imm32(mask));
if (m_sign_extend) if (m_sign_extend)
m_code->MOVSX(32, sbits, m_dst_reg, R(m_dst_reg)); m_code->MOVSX(32, sbits, m_dst_reg, R(m_dst_reg));