This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] if-to-switch conversion pass -- infrastructure


On Tue, Jul 17, 2012 at 1:25 PM, Tom de Vries <Tom_deVries@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  <tom@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]