> Does the computed value of very_unlikely need to change for the new
> scale? Can the profile machinery provide a helper function or macro
> instead of the current calculation replicated in many ports?
And to answer your first question, there is REG_BR_PROB_BASE scale which is not
chnaged by my
> On Sat, Jul 1, 2017 at 9:06 AM, Jan Hubicka wrote:
> >> >> > * config/rs6000/rs6000.c (emit_unlikely_jump): Adjust to new branch
> >> >> > probability data type.
> >> >> >
> >> >> > Index: rs6000.c
> >> >> > ===
> >> >> > --- rs6000
On Sat, Jul 1, 2017 at 9:06 AM, Jan Hubicka wrote:
>> >> > * config/rs6000/rs6000.c (emit_unlikely_jump): Adjust to new branch
>> >> > probability data type.
>> >> >
>> >> > Index: rs6000.c
>> >> > ===
>> >> > --- rs6000.c (revision 2
> >> > * config/rs6000/rs6000.c (emit_unlikely_jump): Adjust to new branch
> >> > probability data type.
> >> >
> >> > Index: rs6000.c
> >> > ===
> >> > --- rs6000.c (revision 249839)
> >> > +++ rs6000.c (working copy)
> >> > @@ -23514
On Fri, Jun 30, 2017 at 7:18 PM, Segher Boessenkool
wrote:
> On Fri, Jun 30, 2017 at 10:36:27PM +0100, Ramana Radhakrishnan wrote:
>> On Fri, Jun 30, 2017 at 2:36 PM, David Edelsohn wrote:
>> > Convert the rs6000 port to use the new API for branch probabilities.
>> >
>> > Okay?
>> >
>> > Thanks,
On Fri, Jun 30, 2017 at 10:36:27PM +0100, Ramana Radhakrishnan wrote:
> On Fri, Jun 30, 2017 at 2:36 PM, David Edelsohn wrote:
> > Convert the rs6000 port to use the new API for branch probabilities.
> >
> > Okay?
> >
> > Thanks, David
> >
> > * config/rs6000/rs6000.c (emit_unlikely_jump): Adjust
On Fri, Jun 30, 2017 at 2:36 PM, David Edelsohn wrote:
> Convert the rs6000 port to use the new API for branch probabilities.
>
> Okay?
>
> Thanks, David
>
> * config/rs6000/rs6000.c (emit_unlikely_jump): Adjust to new branch
> probability data type.
>
> Index: rs6000.c
> =