On Mon, Jul 20, 2015 at 12:04 PM, Segher Boessenkool
<seg...@kernel.crashing.org> wrote:
> After Kyrill's patch (r225996) (changing combine to do simplification
> before doing some transformations) a shortcoming of the rs6000 backend
> becomes obvious: we have no patterns to handle
>
>         (set (reg:DI) (lt:DI (reg:SI) (const_int 0)))
>
> although we can do that with a single rotate-and-mask instruction.
> Previously, combine usually came up with a more complex pattern (that
> we do implement), hiding the issue.
>
> This patch adds a define_insn for the pattern.
>
>
> 2015-07-20  Segher Boessenkool  <seg...@kernel.crashing.org>
>
>         * config/rs6000/rs6000.md (*lt0_disi): New.

This is okay.

Thanks, David

Reply via email to