Re: non trivial constant folding

sjmeyer@www.tdl.com (Steve Meyer)
18 Jan 2001 01:02:05 -0500

          From comp.compilers

Related articles
[11 earlier articles]
Re: non trivial constant folding henry@spsystems.net (2001-01-09)
Re: non trivial constant folding dew@cray.com (2001-01-09)
Re: non trivial constant folding mpointie@eden-studios.fr (Mickaƫl Pointier) (2001-01-09)
Re: non trivial constant folding morrell@morrell.cup.hp.com (Michael Morrell) (2001-01-09)
Re: non trivial constant folding dmr@bell-labs.com (Dennis Ritchie) (2001-01-11)
Re: non trivial constant folding ONeillCJ@logica.com (Conor O'Neill) (2001-01-11)
Re: non trivial constant folding sjmeyer@www.tdl.com (2001-01-18)
Re: non trivial constant folding genew@shuswap.net (2001-01-18)
Re: non trivial constant folding anton@mips.complang.tuwien.ac.at (2001-01-19)
Re: non trivial constant folding genew@shuswap.net (2001-01-20)
Re: non trivial constant folding anton@mips.complang.tuwien.ac.at (2001-01-26)
Re: non trivial constant folding broeker@physik.rwth-aachen.de (Hans-Bernhard Broeker) (2001-02-01)
| List of all articles for this month |
From: sjmeyer@www.tdl.com (Steve Meyer)
Newsgroups: comp.compilers
Date: 18 Jan 2001 01:02:05 -0500
Organization: Global Network Services - Remote Access Mail & News Services
References: 01-01-015 01-01-022 01-01-040 01-01-057
Keywords: optimize, history
Posted-Date: 18 Jan 2001 01:02:04 EST

On 11 Jan 2001 12:25:30 -0500, Dennis Ritchie <dmr@bell-labs.com> wrote:


>Pretty much. This part wasn't explicitly iterative--it was done once,
>though I suppose the recursiveness and other accidents of coding
>got the routines called more than once on occasion.


Thanks for your reply. I read the following two sentences in the "Code
Generation" section (although expression node sorting is described in
"Expression Optimization" section first) as implying multiple passes:


"Throughout code generation, the expression optimizer is called
whenever delay or reorder change the expression tree.
This allows some special cases to be found that otherwise would
not be seen."


/Steve


--
Steve Meyer
Pragmatic C Software Corp.
email: sjmeyer@pragmatic-c.com


Post a followup to this message

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