Related articles |
---|
[8 earlier articles] |
Re: Switch statement code generation walter@bytecraft.com (Walter Banks) (2009-11-05) |
Re: Switch statement code generation bartc@freeuk.com (bartc) (2009-11-05) |
Re: Switch statement code generation nathan.mccauley@gmail.com (nathan.mccauley@gmail.com) (2009-11-07) |
Re: Switch statement code generation DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-11-08) |
Re: Switch statement code generation bear@sonic.net (Ray) (2009-11-09) |
Re: Switch statement code generation DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-11-11) |
Re: Switch statement code generation derek@knosof.co.uk (Derek M. Jones) (2009-11-11) |
Re: Switch statement code generation anton@mips.complang.tuwien.ac.at (2009-11-11) |
Re: Switch statement code generation idbaxter@semdesigns.com (Ira Baxter) (2009-11-14) |
Re: Switch statement code generation cfc@shell01.TheWorld.com (Chris F Clark) (2009-11-15) |
Re: Switch statement code generation pertti.kellomaki@tut.fi (Pertti Kellomaki) (2009-11-16) |
Re: Switch statement code generation haberg_20080406@math.su.se (Hans Aberg) (2009-11-17) |
From: | "Derek M. Jones" <derek@knosof.co.uk> |
Newsgroups: | comp.compilers |
Date: | Wed, 11 Nov 2009 12:39:12 +0000 |
Organization: | virginmedia.com |
References: | 09-11-002 09-11-014 09-11-023 09-11-027 |
Keywords: | code, bibliography |
Posted-Date: | 13 Nov 2009 00:48:50 EST |
All,
Working out the best set of algorithms to use for mapping
switch statements to machine code obviously requires
information on switch statement usage in real code.
The latest issue of CVu, the magazine of he ACCU
www.accu.org, has an article by yours truely comparing
the usage of switch statements and nested if-else-if sequences
in C code.
You need to be an ACCU member to access the article (yearly
membership #25 or #35 if you want both magazines). I will
make a pdf freely available in a month or so.
While I'm talking about stuff I have written, switch statement code
generation gets a mention in this:
shape-of-code.coding-guidelines.com/2009/09/register-vs-stack-based-vms/
Return to the
comp.compilers page.
Search the
comp.compilers archives again.