public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Feedback-driven optimization
@ 2003-02-23  9:16 Robert Myers
  2003-02-23 11:00 ` Richard Henderson
  2003-02-24 23:17 ` Jim Wilson
  0 siblings, 2 replies; 9+ messages in thread
From: Robert Myers @ 2003-02-23  9:16 UTC (permalink / raw)
  To: gcc

Hello,

Compiler-naive but hard-to-deter hacker would like to explore 
feedback-driven optimization as in

http://gcc.gnu.org/news/profiledriven.html

only  more so.  In particular, VLIW optimizations have never come 
anywhere near to theoretical oracle performance, but I can't see that 
anybody has ever really tried all that hard.

Would like to fiddle around with Bayesian experience-based optimization 
strategies for IA-64.  Not trying to build a realistic optimization 
scheme.  Pure research: given lots of experience how close can you get 
to oracle performance without cheating.

gcc is the perfect base for this enterprise because I have access to the 
source and it comes in an IA-64 flavor.

One problem: my instincts tell me I should be working with RTL, not 
binary, but gcc doesn't permit routine dump of RTL.

Another problem:  I don't have an IA-64 and probably don't want one.  
What I really want is an emulator that can be completely instrumented.

Suggestions, advice, feedback.  Are you completely mad is okay, as long 
as you have some helpful advice to go along  with it.

RM

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Feedback-driven optimization
@ 2003-02-24  1:16 Robert Dewar
  2003-02-24  2:48 ` Robert Myers
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Dewar @ 2003-02-24  1:16 UTC (permalink / raw)
  To: jh, rmyers1400; +Cc: dewar, gcc, rth

> 
> What I want to know is how much of the disappointing performance of VLIW 
> is fundamental: the information just isn't there, and how much is 
> pragmatic: the information might be there but no one can imagine putting 
> the effort in that would be necessary to exploit it.

Many people have studied this question in great detail, so the first step for
you is a major effort cracking the existing literature.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Feedback-driven optimization
@ 2003-02-24  5:06 Robert Dewar
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Dewar @ 2003-02-24  5:06 UTC (permalink / raw)
  To: dewar, rmyers1400; +Cc: gcc, jh, rth

> There's alot to read, and I've scanned a fair bit of it.  No one seems 
> to have tried anything as ambitious as what I have in mind, which, is 
> given all the preconceptions and experience available, come up with a 
> best expected strategy.  There are fairly straightforward recipes for  
> doing this, but I don't think anybody has actually tried them.  What 
> people *have* done is to use profiling to identify areas for increased  
> scrutiny, but with only limited success.

That's very far from true, and indicates that you should do a bit more "scanning".
Have you read for example the basic work on trace scheduling (and in particular
the Multiflow technology -- there was a reason that Intel paid millions of dollars
for access to this technology!)

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Feedback-driven optimization
@ 2003-02-24 11:16 Jakob Engblom
  0 siblings, 0 replies; 9+ messages in thread
From: Jakob Engblom @ 2003-02-24 11:16 UTC (permalink / raw)
  To: gcc


>> Another problem:  I don't have an IA-64 and probably don't want one.

>> What I really want is an emulator that can be completely
instrumented.

> There isn't a free ia64 simulator.  To my knowledge, there isn't
> even a closed source simulator that is generally available.

Yes, there is one IA64 simulator that is generally available (but
unfortunately not free or gratis), check out www.simics.net.  It can
boot an IA64 linux and run real applications, not just user-level code. 

/jakob


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-02-24 23:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-23  9:16 Feedback-driven optimization Robert Myers
2003-02-23 11:00 ` Richard Henderson
2003-02-23 12:06   ` Jan Hubicka
2003-02-24  2:47     ` Robert Myers
2003-02-24 23:17 ` Jim Wilson
2003-02-24  1:16 Robert Dewar
2003-02-24  2:48 ` Robert Myers
2003-02-24  5:06 Robert Dewar
2003-02-24 11:16 Jakob Engblom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).