porting of gcc peephole opt

Hongbo Rong <rong@capsl.udel.edu>
15 Jul 2003 14:49:54 -0400

          From comp.compilers

Related articles
RE: Recursive Descent vs. LALR qjackson@shaw.ca (Quinn Tyler Jackson) (2003-07-04)
porting of gcc peephole opt rong@capsl.udel.edu (Hongbo Rong) (2003-07-15)
RE: porting of gcc peephole opt Barak.Zalstein@ParthusCeva.com (Barak Zalstein) (2003-07-17)
| List of all articles for this month |

From: Hongbo Rong <rong@capsl.udel.edu>
Newsgroups: comp.compilers
Date: 15 Jul 2003 14:49:54 -0400
Organization: University of Delaware, Newark
References: 03-07-061
Keywords: GCC, optimize, question
Posted-Date: 15 Jul 2003 14:49:54 EDT

Hello, I have a question regarding gcc: If I reuse gcc peephole opt in
another compiler as an independent phase, what is the main work to do?

My current understanding is that since the peephole rules are defined in
this way:
    "optional insn-attributes"),

we need first to translate our own code into RTL, then port the related
compilation component to use the above rule, after that, translate the
resulting RTL to our code again.

Any comment please?



Post a followup to this message

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