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]

Re: target register load optimizations (Was: Re: Porting gcc for F-CPU without direct JMP)


From: "Joern Rennecke"
Sent: Friday, December 13, 2002 12:42 PM


> We have some local code here at SuperH, written by Stephen Clarke, that
> we are considering to contribute.  It estimates the execution frequency
> of basic blocks according to their loop depth, and re-allocates target
> registers and changes their loads so that they are loaded in less frequently
> executed blocks.

I would expect that in the current FSF gcc sources, you can use the generic
execution frequency information, rather than the loop-depth based
frequency estimation we originally had?    This would give
profile-directed placement of the target register loads (assuming
the profiling feedback option is available on the target).

Steve.


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


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