Permalink
Browse files

Merge pull request #10502 from unknownbrackets/irjit

irjit: Fix swr typo
  • Loading branch information...
hrydgard committed Jan 3, 2018
2 parents e789300 + 64b57a0 commit b59503957b65d1ebd19743c7643a81e3acc2b055
Showing with 1 addition and 1 deletion.
  1. +1 −1 Core/MIPS/IR/IRCompLoadStore.cpp
@@ -136,7 +136,7 @@ namespace MIPSComp {
ir.WriteSetConstant(maskReg, 0x00ffffff);
ir.Write(IROp::Neg, shiftReg, shiftReg);
ir.Write(IROp::AddConst, shiftReg, shiftReg, ir.AddConstant(24));
ir.Write(IROp::Shl, maskReg, maskReg, shiftReg);
ir.Write(IROp::Shr, maskReg, maskReg, shiftReg);
ir.Write(IROp::And, valueReg, valueReg, maskReg);
ir.Write(IROp::Neg, shiftReg, shiftReg);
ir.Write(IROp::AddConst, shiftReg, shiftReg, ir.AddConstant(24));

0 comments on commit b595039

Please sign in to comment.