Re: [PATCH 2/4] rs6000: Merge and improve highpart and widening muls

2014-09-01 Thread David Edelsohn
On Mon, Sep 1, 2014 at 3:49 PM, Segher Boessenkool wrote: > This is a little more complex. The highpart muls generate a "truncate > lshiftrt" pattern that is not canonical when widening to two registers, > so this doesn't optimise well with combine. This patch changes it to use > the canonical s

[PATCH 2/4] rs6000: Merge and improve highpart and widening muls

2014-09-01 Thread Segher Boessenkool
This is a little more complex. The highpart muls generate a "truncate lshiftrt" pattern that is not canonical when widening to two registers, so this doesn't optimise well with combine. This patch changes it to use the canonical subreg patterns instead, which means we need separate patterns for L