This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/3] Come up with selftests for predict.c.
> On 06/06/2017 12:44 PM, David Malcolm wrote:
> > On Tue, 2017-06-06 at 10:55 +0200, marxin wrote:
> >
> > Some minor nits below.
> >
> >> gcc/ChangeLog:
> >>
> >> 2017-05-26 Martin Liska <mliska@suse.cz>
> >>
> >> * predict.c (struct branch_predictor): New struct.
> >> (test_prediction_value_range): New test.
> >> (predict_tests_c_tests): New function.
> >> * selftest-run-tests.c (selftest::run_tests): Run the function.
> >> * selftest.h: Declare new tests.
Ok,
thanks (also do David for pointing out issues)
Honza