On Mon, Jun 20, 2011 at 1:54 PM, Richard Guenther <richard.guent...@gmail.com> wrote: > Yeah, well. We have mostly no target dependency in those gimple > statement speed/size cost metric, so the above 3 is matching > how the expansion to gimple shift/mask stmts would measure.
Except RTH has mentioned there is already a way to expand it using that one instruction (insv and such). So I think you can measure it without a target hook really. Thanks, Andrew Pinski