On Mon, Dec 15, 2014 at 6:11 AM, Segher Boessenkool
<seg...@kernel.crashing.org> wrote:
> If an addic. is split to addi+cmp (because RA didn't give it CR0), it will
> do the wrong thing if the input reg is GPR0 ("addi X,0,N" is "li X,N").
> So don't allow such an input.
>
> Spotted visually while investigating PR64268.  Tested etc.; okay for
> mainline?
>
>
> Segher
>
>
> 2014-12-15  Segher Boessenkool  <seg...@kernel.crashing.org>
>
> gcc/
>         * gcc/config/rs6000/rs6000.md (*add>mode>3_imm_dot,
>         *add<mode>3_imm_dot2): Change the constraint for the second
>         alternative for operand 1 from "r" to "b".

Okay.

thanks, David

Reply via email to