This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] if-to-switch conversion pass -- infrastructure
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>, Steven Bosscher <stevenb dot gcc at gmail dot com>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Tue, 17 Jul 2012 13:29:57 +0200
- Subject: Re: [PATCH 2/2] if-to-switch conversion pass -- infrastructure
- References: <50054A9C.4030404@mentor.com> <50054BA9.5020104@mentor.com>
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.