Re: Is global optimization worth it?

Gary Oblock <mwso@earthlink.net>
20 Dec 2001 00:42:08 -0500

          From comp.compilers

Related articles
Is global optimization worth it? lance.delahaye@xtra.co.nz (2001-12-15)
Re: Is global optimization worth it? nmm1@cus.cam.ac.uk (2001-12-20)
Re: Is global optimization worth it? rsherry8@home.com (Robert Sherry) (2001-12-20)
Re: Is global optimization worth it? mwso@earthlink.net (Gary Oblock) (2001-12-20)
Re: Is global optimization worth it? lex@cc.gatech.edu (Lex Spoon) (2001-12-20)
Re: Is global optimization worth it? lance.delahaye@xtra.co.nz (2002-01-24)
Re: Is global optimization worth it? lance.delahaye@xtra.co.nz (2002-01-24)
Re: Is global optimization worth it? nmm1@cus.cam.ac.uk (2002-01-24)
Re: Is global optimization worth it? rinie@xs4all.nl (Rinie Kervel) (2002-01-28)
Re: Is global optimization worth it? nmm1@cus.cam.ac.uk (2002-01-30)
[1 later articles]
| List of all articles for this month |
From: Gary Oblock <mwso@earthlink.net>
Newsgroups: comp.compilers
Date: 20 Dec 2001 00:42:08 -0500
Organization: EarthLink Inc. -- http://www.EarthLink.net
References: 01-12-069
Keywords: optimize, practice
Posted-Date: 20 Dec 2001 00:42:08 EST

Lance --


It depends on the details of the language specification. Some language
features make optimization a lot harder (e.g. pointers). The type
programs that you intend to run are also important.


It also depends on the processor architecture. For instance an
aggressive scheduler on a VLIW processor, with units having restricted
bypassing, can experience a 10X speedup on certain types of code.


  -- Gary Oblock
  Bronze Dreams
  Mountain View, CA
  http://bronzedreams.com


Lance wrote:


> I'm starting a compiler project. I am wondering if it is worth
> ignoring global optimisations for a pascal-type scoped language. About
> how much optimisation gain is there to be had there? If its more than
> about a third, I probably shouldn't ignore it, but it would simplify
> my life quite a bit if I could.


Post a followup to this message

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