Clustering switch cases

Rahul Kharche rahul@IceraSemi.com
Fri Sep 3 10:29:00 GMT 2010


> I have been working on your patch but I didn't manage to get it
> working yet. Unfortunately our current stable GCC version if 4.3.4 and
> our 4.4.x still has some issues.
> I tried backporting your patch to GCC 4.3.4 but it introduced several
> regressions.  It's my guess this is due to my incorrect manual
> patching of 4.3.
> Before I go through the regressions on our GCC 4.3 and try to fix the
> patching, do you have by any change a patch against 4.3.x?

Can you try the attached patch again with GCC 4.4.1 and let me know if it
fixes your regressions. There are related changes to how basic blocks are
split that may needs changing when using switch clustering. The changes
to stmt.c are the same as before. The additional changes are to cfgrtl.c
and cfgbuild.c.

Cheers,
Rahul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: switch_case_clusters.patch
Type: application/octet-stream
Size: 34243 bytes
Desc: switch_case_clusters.patch
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20100903/7cd81b02/attachment.obj>


More information about the Gcc mailing list