Difference: ProjectHome (10 vs. 11)

Revision 112008-01-25 - XiaomingGu

Line: 1 to 1
 
META TOPICPARENT name="CS255Spring08"

Project for CSC 255/455, Spring 2008

Introduction

Changed:
<
<
In the project, we add our own passes in Gcc at gimple level. Because Gcc is a real compiler, it looks a little more difficult than previous semesters. You have to know the basic framework of Gcc and how to manipulate gimple tree to do the analyses and transformations. The following resources will help you through the problems. Wish you have a happy journey with Gcc.
>
>
In the project, we add our own passes in Gcc at gimple level. Because Gcc is a real compiler, it looks a little more difficult than previous semesters. You have to know the basic framework of Gcc and how to manipulate gimple tree to do the analyses and transformations. The following resources will help you through the problems. Remember to read the useful tips carefully, especially for them about how to build the working environment. Wish you have a happy journey with Gcc.
 

Resources

Line: 19 to 19
 

Useful tips

  • Check out code and install: see Gcc-4.2.2 notes on installation
  • Use qsub -I at node64 to get a node to accelerate the make and install: see ClusterJobs
Added:
>
>
  • To prevent the problem of hardware incompatibility, you'd better build your compiler and use it and run the compiled executables on the same kind of machines.
 
  • Output gimple tree in c-like form: use option -fdump-tree-gimple
  • Invoke your pass: use -O2 -fcs255
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback