Merge pull request #3072 from lioncash/nothing-even-matrs
Jit_Util: Replace two MDisp usages with MatR
This commit is contained in:
commit
79bf93996f
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue