Re: [PATCH] simplify-rtx: Handle truncate of extract

2016-11-28 Thread Segher Boessenkool
On Mon, Nov 28, 2016 at 01:56:10PM -0700, Jeff Law wrote: > On 11/26/2016 04:19 PM, Segher Boessenkool wrote: > >simplify_truncation changes the truncation of many operations into > >the operation on the truncation. This patch makes this code also > >handle extracts. > I'm OK with this for the

Re: [PATCH] simplify-rtx: Handle truncate of extract

2016-11-28 Thread Segher Boessenkool
On Mon, Nov 28, 2016 at 03:00:16PM -0700, Jeff Law wrote: > On 11/28/2016 02:55 PM, Segher Boessenkool wrote: > >On Mon, Nov 28, 2016 at 01:56:10PM -0700, Jeff Law wrote: > >>On 11/26/2016 04:19 PM, Segher Boessenkool wrote: > >>>simplify_truncation changes the truncation of many operations into >

Re: [PATCH] simplify-rtx: Handle truncate of extract

2016-11-28 Thread Jeff Law
On 11/28/2016 02:55 PM, Segher Boessenkool wrote: On Mon, Nov 28, 2016 at 01:56:10PM -0700, Jeff Law wrote: On 11/26/2016 04:19 PM, Segher Boessenkool wrote: simplify_truncation changes the truncation of many operations into the operation on the truncation. This patch makes this code also

Re: [PATCH] simplify-rtx: Handle truncate of extract

2016-11-28 Thread Segher Boessenkool
On Mon, Nov 28, 2016 at 01:56:10PM -0700, Jeff Law wrote: > On 11/26/2016 04:19 PM, Segher Boessenkool wrote: > >simplify_truncation changes the truncation of many operations into > >the operation on the truncation. This patch makes this code also > >handle extracts. > > > >Tested on

Re: [PATCH] simplify-rtx: Handle truncate of extract

2016-11-28 Thread Jeff Law
On 11/26/2016 04:19 PM, Segher Boessenkool wrote: simplify_truncation changes the truncation of many operations into the operation on the truncation. This patch makes this code also handle extracts. Tested on powerpc64-linux. With this patch the rlwimi testcases work. Is this okay for trunk?