Re: [PATCH] Fix powerpc shift/rotate/mask insn handling (PR target/69946)

2016-02-26 Thread David Edelsohn
On Fri, Feb 26, 2016 at 11:02 AM, Jakub Jelinek wrote: > Hi! > > Segher has added last year a few routines for the shift/rotate + mask > patterns, insns always have one predicate which tests if PowerPC supports > such pattern, and another that emits the instruction for it. > > The testcase in the

[PATCH] Fix powerpc shift/rotate/mask insn handling (PR target/69946)

2016-02-26 Thread Jakub Jelinek
Hi! Segher has added last year a few routines for the shift/rotate + mask patterns, insns always have one predicate which tests if PowerPC supports such pattern, and another that emits the instruction for it. The testcase in the patch is miscompiled, we end up with an instruction with out of boun