Re: [PATCH][GCC][mid-end] Support combining of LSHIFTRT + LSHIFTRT operations

2017-05-02 Thread Jeff Law
On 05/02/2017 08:34 AM, Tamar Christina wrote: Hi all, r217118 added an optimization to combine ashiftrt and lshiftrt. This same optimization can at the very least also apply to lshiftrt + lshiftrt with the same constraints. i.e. that both operations are done for scalar modes, that second operat

[PATCH][GCC][mid-end] Support combining of LSHIFTRT + LSHIFTRT operations

2017-05-02 Thread Tamar Christina
Hi all, r217118 added an optimization to combine ashiftrt and lshiftrt. This same optimization can at the very least also apply to lshiftrt + lshiftrt with the same constraints. i.e. that both operations are done for scalar modes, that second operation operates on a subreg of the first one and tha