Commit d0099910 by James Van Artsdalen

(movstrsi): mask move count after signed shift.

From-SVN: r2719
parent 3e398742
...@@ -3955,7 +3955,7 @@ ...@@ -3955,7 +3955,7 @@
{ {
if (INTVAL (operands[2]) & ~0x03) if (INTVAL (operands[2]) & ~0x03)
{ {
xops[0] = GEN_INT (INTVAL (operands[2]) >> 2); xops[0] = GEN_INT ((INTVAL (operands[2]) >> 2) & 0x3fffffff);
xops[1] = operands[4]; xops[1] = operands[4];
output_asm_insn (AS2 (mov%L1,%0,%1), xops); output_asm_insn (AS2 (mov%L1,%0,%1), xops);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment