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% frequency ratio as a cutoff. > On SPEC2K INT with -O2 this reduced code size for 28 bytes (no > regressions).
This probably should be controlled by a target hook. C6X for example probably doesn't want this. Bernd