Commit cd0ec0d1 by Richard Kenner

*** empty log message ***

From-SVN: r737
parent 3391e1bc
...@@ -1061,6 +1061,17 @@ ...@@ -1061,6 +1061,17 @@
int start = INTVAL (operands[3]) & 31; int start = INTVAL (operands[3]) & 31;
int size = INTVAL (operands[2]) & 31; int size = INTVAL (operands[2]) & 31;
if ((start < 16 && start + size <= 16) || start >= 16)
{
operands[3] = gen_rtx (CONST_INT, VOIDmode,
((1 << (16 - (start & 15)))
- (1 << (16 - (start & 15) - size))));
if (start < 16)
return \"andiu. %4,%1,%3\";
else
return \"andil. %4,%1,%3\";
}
if (start + size >= 32) if (start + size >= 32)
operands[3] = const0_rtx; operands[3] = const0_rtx;
else else
......
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