(mips_move_2words): Rewrite 32 bit shifts as 16 bit shifts.
From-SVN: r12696
This commit is contained in:
parent
24f72d7685
commit
5107b750cb
|
@ -1539,8 +1539,10 @@ mips_move_2words (operands, insn)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
operands[2] = GEN_INT (INTVAL (operands[1]) >> 32);
|
/* We use multiple shifts here, to avoid warnings about out
|
||||||
operands[1] = GEN_INT (INTVAL (operands[1]) << 32 >> 32);
|
of range shifts on 32 bit hosts. */
|
||||||
|
operands[2] = GEN_INT (INTVAL (operands[1]) >> 16 >> 16);
|
||||||
|
operands[1] = GEN_INT (INTVAL (operands[1]) << 16 << 16 >> 16 >> 16);
|
||||||
ret = "li\t%M0,%2\n\tli\t%L0,%1";
|
ret = "li\t%M0,%2\n\tli\t%L0,%1";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue