On Tue, Jul 17, 2012 at 1:25 PM, Tom de Vries <tom_devr...@mentor.com> wrote: > On 17/07/12 13:21, Tom de Vries wrote: >> attached patch implements an if-to-switch conversion tree pass >> pass_if_to_switch. I will follow up this email with an infrastructure patch >> that >> provides double_int_popcount and popcount_hwi. > > Bootstrapped and reg-tested (Ada inclusive) on x86_64, with pass_if_to_switch > as > only client. > > OK for trunk?
Ok. Thanks, Richard. > Thanks, > - Tom > > 2012-07-16 Tom de Vries <t...@codesourcery.com> > > * double-int.h (double_int_popcount): New inline function. > * hwint.c (popcount_hwi): New function. > * hwint.h (popcount_hwi): Declare function. New inline function.