From: Jeff Law <law@redhat.com>
To: "Martin Liška" <mliska@suse.cz>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Print heuristics probability fraction part with 2 digits.
Date: Thu, 02 Aug 2018 22:36:00 -0000 [thread overview]
Message-ID: <b233189e-175f-6806-5294-a4761168fe94@redhat.com> (raw)
In-Reply-To: <c179c1ca-4a1e-5df2-f730-774b243e8f7d@suse.cz>
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
prev parent reply other threads:[~2018-08-02 22:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-26 14:43 Martin Liška
2018-08-02 22:36 ` Jeff Law [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b233189e-175f-6806-5294-a4761168fe94@redhat.com \
--to=law@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=mliska@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).