This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for __builtin_expect on PowerPC
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: Fix for __builtin_expect on PowerPC
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Sat, 16 Jun 2001 16:56:13 -0400
- Cc: gcc-patches at gcc dot gnu dot org, meissner at redhat dot com
- References: <20010616222529.A24990@atrey.karlin.mff.cuni.cz>
On Sat, Jun 16, 2001 at 10:25:29PM +0200, Jan Hubicka wrote:
> > Any comments before I check it in?
> Yes :)
> predict.h includes predict.def, so please use PREDICT_H variable in Makefile.
> Otherwise it looks like good idea to me (in fact I wanted to implement it
> in similar manner too).
Ok, I should have looked to see if there was a PREDICT_H. I've fixed it in my
sources, when I check it in.
> Can we handle conditional goto in same way, so we get predicted as unlikely?
I'm not sure what you mean by conditional goto, since do_jump handles
conditional jumps. Do you have a fragment of code to explain what you want
predicted?
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482