This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]