mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
irjit: Fix swr typo.
Shifting the wrong direction - oops.
This commit is contained in:
1 parent
e7893001e9
commit
64b57a0329
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user