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]

Re: PRE in gcse.c


In article <9811082207.AA56738@marc.watson.ibm.com>,
David Edelsohn <dje@watson.ibm.com> writes:
> 	So what sort of project is available for a Master's student who
> wants to implement some new optimization techniques in EGCS?

Program flow optimization: use profile feedback/__builtin_expect to 
generate code that doesn't jump at all for the fast path and moves all 
infrequently called code out of line. 

I don't know if that would be enough for a Master's (it is definitely
not a new technique), but it would be very nice to have in egcs because
it is very important for good performance (currently it can be done by hand
with gotos, but that it ugly) and for new CPUs like the Merced or the Alpha.

-Andi
	
	



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