From: pocmatos@gmail.com (Paulo J. Matos)
To: gcc@gcc.gnu.org
Subject: Re: Clustering switch cases
Date: Wed, 01 Sep 2010 09:15:00 -0000 [thread overview]
Message-ID: <yayvd6peskk.fsf@alma.europe.root.pri> (raw)
In-Reply-To: <AANLkTinUUndLEh5exJs+0_b6ueSBoJLWwUh3zMssYVAd@mail.gmail.com>
Richard Guenther <richard.guenther@gmail.com> writes:
>>
>> I'd kinda hope that doing the optimization at the tree level means expand_case
>> doesn't have to handle both types. Â The tree code converts sparse case ranges
>> to explicit conditionals (or a switch on a compact perfect hash), so anything
>> left to RTL expansion must be a jump table.
>
You are right, I haven't thought about it but it does make sense. If I
want to provide a patch for this, would it be ok if its a patch against
gcc 4.4.4, or would it be better if its against the latest 4.5.1? Is
there any policy regarding this?
> Yes, that was my idea.
>
Good! I will get to work!
Cheers,
--
PMatos
next prev parent reply other threads:[~2010-09-01 9:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-27 13:49 Paulo J. Matos
2010-08-27 15:03 ` Ian Lance Taylor
2010-08-27 15:09 ` Paulo J. Matos
2010-08-27 15:27 ` Richard Guenther
2010-08-28 0:21 ` Xinliang David Li
2010-08-28 11:08 ` Paulo J. Matos
2010-08-31 15:59 ` Rahul Kharche
[not found] ` <201009010034.18924.paul@codesourcery.com>
2010-09-01 8:39 ` Richard Guenther
2010-09-01 9:15 ` Paulo J. Matos [this message]
2010-09-01 9:33 ` Richard Guenther
2010-09-01 12:37 ` Paulo J. Matos
[not found] ` <D84AB18A31AC674EBE9B5300634A800601BF0B0932@EXCHANGEVS.IceraSemi.local>
[not found] ` <AANLkTinFhrgJw3Wz8aLhBU6PMYpJzBFTRxLUH3eoz4M0@mail.gmail.com>
[not found] ` <4D60B0700D1DB54A8C0C6E9BE691637008965A28@EXCHANGEVS.IceraSemi.local>
[not found] ` <AANLkTinkjc4Y9baHXXK7v3ibQNwMtwGhA_oGmaFbykkA@mail.gmail.com>
2010-09-03 10:29 ` Rahul Kharche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yayvd6peskk.fsf@alma.europe.root.pri \
--to=pocmatos@gmail.com \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).