This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PRE in gcse.c
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: PRE in gcse.c
- From: Andi Kleen <ak at muc dot de>
- Date: 09 Nov 1998 16:08:05 +0100
- Cc: law at cygnus dot com, Alexander Larsson <alla at lysator dot liu dot se>, "David S. Miller" <davem at dm dot cobaltmicro dot com>, egcs at cygnus dot com
- References: <9811082207.AA56738@marc.watson.ibm.com>
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