This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to use gcc source and try new optmization techniques
- From: Rohan Sreeram <rohan_sreeram at yahoo dot com>
- To: gcc at gnu dot org
- Date: Wed, 20 Aug 2008 17:45:25 -0700 (PDT)
- Subject: How to use gcc source and try new optmization techniques
Hi,
I am a student in Utah State University researching on compilers optimization techniques.
I wanted to know how I could use gcc for experimenting with optimization.
Here is what I intend to do:
1) Understand the control flow graphs being generated by GCC, which I could build using the -fdump-tree-cfg option.
2) Write code that could convert CFG to a different graph.
3) Use this new graph for optimization.
4) Use the optimized graph to generate machine code (say Intel architecture for now).
Please let me know how I could leverage the GCC code for this purpose, and if you any suggestions/comments for me you are most welcome ! :)
Thanks,
Rohan