Re: Optimization of "switch" stmt in C

"Dave Hanson" <drh@microsoft.com>
28 Sep 1999 00:25:39 -0400

          From comp.compilers

Related articles
Optimization of "switch" stmt in C mayur_naik@my-deja.com (1999-09-20)
Re: Optimization of "switch" stmt in C ast@halcyon.com (Andrew Tucker) (1999-09-20)
Re: Optimization of "switch" stmt in C jejones@microware.com (James Jones) (1999-09-20)
Re: Optimization of "switch" stmt in C jcownie@etnus.com (James Cownie) (1999-09-24)
Re: Optimization of "switch" stmt in C ger@informatik.uni-nospam-bremen.de (George Russell) (1999-09-24)
Re: Optimization of "switch" stmt in C vmakarov@cygnus.com (Vladimir Makarov) (1999-09-24)
Re: Optimization of "switch" stmt in C danielv@crt.umontreal.ca (Daniel Villeneuve) (1999-09-27)
Re: Optimization of "switch" stmt in C drh@microsoft.com (Dave Hanson) (1999-09-28)
Re: Optimization of "switch" stmt in C cmilner@virginia.edu (Christopher W. Milner) (1999-10-01)
| List of all articles for this month |
From: "Dave Hanson" <drh@microsoft.com>
Newsgroups: comp.compilers
Date: 28 Sep 1999 00:25:39 -0400
Organization: Microsoft Corp.
References: 99-09-081 99-09-084 99-09-094
Keywords: code, C

lcc does a good job compiling switch statements (if I do say so
myself) and it's described in detail in our book, "A Retargetable C
Compiler, Design and Implementation", Fraser & Hanson, AW, 1995. See
http://www.cs.princeton.edu/software/lcc/ for details--and the code.
dave hanson


> > Could any one give me references to web-sites / papers / books
> > which discuss the optimization of the "switch" stmt in C?





Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.