Re: [RFC, ARM][PATCH 4/5] Limit on frequency in if-conversion

2012-01-09 Thread Bernd Schmidt
On 12/30/2011 05:50 PM, Dmitry Melnik wrote: > If one of branches has significantly greater probability than the other, > then it may be better to rely on CPU's branch prediction and block > reordering, than putting rarely executed instructions into the pipeline. > In this patch we set 10% frequen

[RFC, ARM][PATCH 4/5] Limit on frequency in if-conversion

2011-12-30 Thread Dmitry Melnik
If one of branches has significantly greater probability than the other, then it may be better to rely on CPU's branch prediction and block reordering, than putting rarely executed instructions into the pipeline. In this patch we set 10% frequency ratio as a cutoff. On SPEC2K INT with -O2 this