On Thu, 2011-06-16 at 09:49 -0700, Richard Henderson wrote:
> On 06/16/2011 04:35 AM, Richard Guenther wrote:
> > 
> > +     /* Bit-field insertion needs several shift and mask operations.  */
> > +     case BIT_FIELD_EXPR:
> > +       return 3;
> 
> ... depending on the target, of course.
> 

Agreed -- this is a single-instruction operation on PowerPC.  Probably
need some target-specific weights here.

> 
> 
> r~


Reply via email to