This is the mail archive of the gcc-patches@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: Fix for __builtin_expect on PowerPC


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


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