On 07/08/2016 06:47 AM, Martin Liška wrote:
Hi.

This is my second attempt of the patch where I generate all tests on fly.
Firstly, params-options.h is used to generate a list of options in form of:

"predictable-branch-outcome"=2,0,50
"inline-min-speedup"=10,0,0
"max-inline-insns-single"=400,0,0
...

The list is then loaded in params.ext which triggers dg-runtest.
I've also swapped the tested source file to a part of bzip2 compression 
algorithm.

Now the testing runs 1m20s (w/ -O3) and 0m58s (w/ -O2).
Hope it's much better?

Martin


0001-Add-tests-that-test-boundary-values-of-params-v2.patch


From f84ce7be4a998089541fb4512e19f54a4ec25cf6 Mon Sep 17 00:00:00 2001
From: marxin <mli...@suse.cz>
Date: Fri, 8 Jul 2016 10:59:24 +0200
Subject: [PATCH] Add tests that test boundary values of params

gcc/ChangeLog:

2016-07-08  Martin Liska  <mli...@suse.cz>

        * Makefile.in: Append rule for params-options.h.
        * params-options.h: New file.

gcc/testsuite/ChangeLog:

2016-07-08  Martin Liska  <mli...@suse.cz>

        * gcc.dg/params/blocksort-part.c: New test.
        * gcc.dg/params/params.exp: New file.
Seems reasonable to me -- OK for the trunk, but please be on the lookout for these tests failing on other targets.

jeff

Reply via email to