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]
Other format: [Raw text]

Re: [patch] Update profile in loop versioning and unrolling


> 
> scale_bbs_frequencies_int does not like numerator to be greater than
> 65536, the magic constants on both places ensure that we do not pass it
> invalid inputs.

I see, it is even asserted there.  Can't just scale_bbs_frequencies_int
care itself to scale down num/den to stay within range rather than
forcing users to add such interesting checks?

Honza
> 
> Zdenek


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