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] Print heuristics probability fraction part with 2 digits.


On 07/26/2018 08:43 AM, Martin Liška wrote:
> Hi.
> 
> It's just a cosmetics change where I want to print 2 digits of fraction
> part of heuristics probabilities. It helps to distinguish 100% from
> PROB_VERY_LIKELY (99.96%).
> 
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
> 
> Ready to be installed?
> Martin
> 
> gcc/ChangeLog:
> 
> 2018-07-26  Martin Liska  <mliska@suse.cz>
> 
> 	* predict.c (dump_prediction): Change to 2 digits
>         in fraction part.
> 
> gcc/testsuite/ChangeLog:
> 
> 2018-07-26  Martin Liska  <mliska@suse.cz>
> 
> 	* gcc.dg/predict-1.c: Adjust scanned pattern to cover 2 digits.
> 	* gcc.dg/predict-13.c:Likewise.
> 	* gcc.dg/predict-3.c:Likewise.
> 	* gcc.dg/predict-4.c:Likewise.
> 	* gcc.dg/predict-5.c:Likewise.
> 	* gcc.dg/predict-6.c:Likewise.
> 	* gcc.dg/predict-9.c:Likewise.
> 	* gfortran.dg/predict-1.f90:Likewise.
OK.
jeff


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