Re: [PATCH] rs6000: Add testcase for shifts

2015-07-03 Thread David Edelsohn
On Fri, Jul 3, 2015 at 10:16 AM, Segher Boessenkool wrote: > This new test tests that all shifts of int compile to exactly one > machine instruction, not two as in the PR (which was a problem in > combine). Tested on powerpc64-linux, with the usual options > (-m32,-m32/-mpowerpc64,-m64,-m64/-mlra

[PATCH] rs6000: Add testcase for shifts

2015-07-03 Thread Segher Boessenkool
This new test tests that all shifts of int compile to exactly one machine instruction, not two as in the PR (which was a problem in combine). Tested on powerpc64-linux, with the usual options (-m32,-m32/-mpowerpc64,-m64,-m64/-mlra); okay for trunk? Segher 2015-07-03 Segher Boessenkool gcc/