Re: [PATCH] Optimize v*gather* with masks with all high bits set

2011-11-04 Thread Richard Henderson
On 11/04/2011 08:53 AM, Jakub Jelinek wrote: > On Fri, Nov 04, 2011 at 08:48:30AM -0700, Richard Henderson wrote: >> On 11/04/2011 03:57 AM, Jakub Jelinek wrote: >>> + /* Optimize. If mask is known to have all high bits set, >>> +replace op0 with pc_rtx to signal that the instruction >>>

Re: [PATCH] Optimize v*gather* with masks with all high bits set

2011-11-04 Thread Jakub Jelinek
On Fri, Nov 04, 2011 at 08:48:30AM -0700, Richard Henderson wrote: > On 11/04/2011 03:57 AM, Jakub Jelinek wrote: > > + /* Optimize. If mask is known to have all high bits set, > > +replace op0 with pc_rtx to signal that the instruction > > +overwrites the whole destination and doesn'

Re: [PATCH] Optimize v*gather* with masks with all high bits set

2011-11-04 Thread Richard Henderson
On 11/04/2011 03:57 AM, Jakub Jelinek wrote: > + /* Optimize. If mask is known to have all high bits set, > + replace op0 with pc_rtx to signal that the instruction > + overwrites the whole destination and doesn't use its > + previous contents. */ Why pass in PC, rather than