Re: [PATCH/MIPS] Use ins/dins instruction when written manually

2012-11-09 Thread Andrew Pinski
On Mon, 2012-11-05 at 11:20 -0800, Andrew Pinski wrote: > On Mon, 2012-11-05 at 19:19 +, Richard Sandiford wrote: > > Hi Andrew, > > > > Andrew Pinski writes: > > > On Fri, Oct 5, 2012 at 8:43 PM, Andrew Pinski > > > wrote: > > >> On Sun, Aug 19, 2012 at 10:13 AM, Richard Sandiford > > >> w

Re: [PATCH/MIPS] Use ins/dins instruction when written manually

2012-11-05 Thread Andrew Pinski
On Mon, 2012-11-05 at 19:19 +, Richard Sandiford wrote: > Hi Andrew, > > Andrew Pinski writes: > > On Fri, Oct 5, 2012 at 8:43 PM, Andrew Pinski > > wrote: > >> On Sun, Aug 19, 2012 at 10:13 AM, Richard Sandiford > >> wrote: > >>> Andrew Pinski writes: > Right now we only produce in

Re: [PATCH/MIPS] Use ins/dins instruction when written manually

2012-11-05 Thread Richard Sandiford
Hi Andrew, Andrew Pinski writes: > On Fri, Oct 5, 2012 at 8:43 PM, Andrew Pinski > wrote: >> On Sun, Aug 19, 2012 at 10:13 AM, Richard Sandiford >> wrote: >>> Andrew Pinski writes: Right now we only produce ins when a zero_extract is used on the right hand side. We can do better b

Re: [PATCH/MIPS] Use ins/dins instruction when written manually

2012-10-05 Thread Andrew Pinski
On Fri, Oct 5, 2012 at 8:43 PM, Andrew Pinski wrote: > On Sun, Aug 19, 2012 at 10:13 AM, Richard Sandiford > wrote: >> Andrew Pinski writes: >>> Right now we only produce ins when a zero_extract is used on the >>> right hand side. We can do better by adding some patterns which >>> combine for

Re: [PATCH/MIPS] Use ins/dins instruction when written manually

2012-10-05 Thread Andrew Pinski
On Sun, Aug 19, 2012 at 10:13 AM, Richard Sandiford wrote: > Andrew Pinski writes: >> Right now we only produce ins when a zero_extract is used on the >> right hand side. We can do better by adding some patterns which >> combine for the ins instruction. This patch adds those patterns and a >>

Re: [PATCH/MIPS] Use ins/dins instruction when written manually

2012-08-19 Thread Richard Sandiford
Andrew Pinski writes: > Right now we only produce ins when a zero_extract is used on the > right hand side. We can do better by adding some patterns which > combine for the ins instruction. This patch adds those patterns and a > testcase which shows a simple example where the code is improved.

[PATCH/MIPS] Use ins/dins instruction when written manually

2012-08-14 Thread Andrew Pinski
Hi, Right now we only produce ins when a zero_extract is used on the right hand side. We can do better by adding some patterns which combine for the ins instruction. This patch adds those patterns and a testcase which shows a simple example where the code is improved. OK? Bootstrapped and tes