Re: [PATCH] Fix POW2 histogram

2016-08-09 Thread Nathan Sidwell
On 08/08/16 12:56, Martin Liška wrote: Hello. Currently, we utilize pow2 profile histogram to track gimple STMTs like this: ssa_name_x % value. void __gcov_pow2_profiler (gcov_type *counters, gcov_type value) { if (value & (value - 1)) counters[0]++; else counters[1]++; } Although

[PATCH] Fix POW2 histogram

2016-08-08 Thread Martin Liška
OW2 histograms. Survives make check -k -j10 RUNTESTFLAGS="tree-prof.exp" Ready for trunk? Thanks, Martin >From 5c1173eec8bb6a16d2a570e845075c6e868a26f9 Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 8 Aug 2016 18:44:19 +0200 Subject: [PATCH] Fix POW2 histogram gcc/testsuite/ChangeLog