Compiler optimization in GCC

This is a discussion on Compiler optimization in GCC within the Compilers forums in Theory and Concepts category; Hello Friends, I am planning to do my mini project as 'Experimenting with optimization in gg platform'. I am trying to understand how optimization happens in gcc and if possible replace a one of the optimization algorithm with mine (say, constant propogation!).. Can anyone give me links which helps me learn more about these.. I have been searching around in net but most of them ends up in results which lets one know how to use the optimizations in gcc.. Thank you. [There's no substitute for reading the code. -John]...

Go Back   Application Development Forum > Theory and Concepts > Compilers

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-07-2008, 06:37 AM
Vivek B
Guest
 
Default Compiler optimization in GCC

Hello Friends,

I am planning to do my mini project as 'Experimenting with
optimization in gg platform'. I am trying to understand how
optimization happens in gcc and if possible replace a one of the
optimization algorithm with mine (say, constant propogation!)..

Can anyone give me links which helps me learn more about these.. I
have been searching around in net but most of them ends up in results
which lets one know how to use the optimizations in gcc..

Thank you.
[There's no substitute for reading the code. -John]
Reply With Quote
  #2  
Old 09-08-2008, 02:17 AM
Bageshri Karkare
Guest
 
Default Re: Compiler optimization in GCC

Vivek,

Take a look at http://www.cse.iitb.ac.in/grc where you can find very
useful documentation about adding your own analysis/optimization pass
to gcc and more. A generic data flow analyzer for bit-vector
frameworks has already been implemented in gcc. (a patch will be made
available soon.)

Bageshri.

Bageshri Karkare
NVIDIA, Pune, India

Webpage: http://www.cse.iitb.ac.in/bageshri

On Sun, Sep 7, 2008 at 4:07 PM, Vivek B <vivekb1985@gmail.com> wrote:
> I am planning to do my mini project as 'Experimenting with
> optimization in gg platform'. I am trying to understand how
> optimization happens in gcc and if possible replace a one of the
> optimization algorithm with mine (say, constant propogation!)..
>
> Can anyone give me links which helps me learn more about these.. I
> have been searching around in net but most of them ends up in results
> which lets one know how to use the optimizations in gcc..

Reply With Quote
  #3  
Old 09-09-2008, 05:48 AM
Vivek B
Guest
 
Default Re: Compiler optimization in GCC

On Sep 8, 11:17 am, "Bageshri Karkare" <bages...@gmail.com> wrote:
> Take a look athttp://www.cse.iitb.ac.in/grcwhere you can find very
> useful documentation about adding your own analysis/optimization pass
> to gcc and more. A generic data flow analyzer for bit-vector
> frameworks has already been implemented in gcc. (a patch will be made
> available soon.)
> Webpage:http://www.cse.iitb.ac.in/bageshri


> On Sun, Sep 7, 2008 at 4:07 PM, Vivek B <vivekb1...@gmail.com> wrote:
> > I am planning to do my mini project as 'Experimenting with
> > optimization in gg platform'. I am trying to understand how
> > optimization happens in gcc and if possible replace a one of the
> > optimization algorithm with mine (say, constant propogation!)..




Thank you, Sir!

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:36 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.