|recognition and optimization of prefix computation or variants in C/C+ firstname.lastname@example.org (2008-06-17)|
|Re: recognition and optimization of prefix computation or variants in email@example.com (George Neuner) (2008-06-18)|
|Re: recognition and optimization of prefix computation or variants in firstname.lastname@example.org (2008-06-21)|
|Re: recognition and optimization of prefix computation or variants in email@example.com (rcmetzger) (2008-06-23)|
|Date:||Sat, 21 Jun 2008 03:20:54 -0700 (PDT)|
|Posted-Date:||21 Jun 2008 12:59:38 EDT|
On Jun 17, 3:34 am, sandy...@gmail.com wrote:
> Does the current C/C++ compilers in industry recognize idioms of the
> form of prefix computation and transform them? ....
I doubt it. I think what you really want is a way to transform C++
code into the form that you want. Then you can decide what custom
optimizations you desire.
The DMS Software Reengineering Toolkit can be used to transform C++
source to C++ source code. You can code your transformation pretty
much as you stated it. In practice, you'll code transformations with
source patterns of interest, target patterns that are desired (both
written in C++ surface syntax) and add additional checks to verify
that certain semantic conditions are valid.
and the link to DMS on that page. The website also has a publications
page that has papers on transforming large, complex C++ codes for
Ira Baxter, CTO
Return to the
Search the comp.compilers archives again.