After some testing, we have found that a br_mispredict_factor of 7 is more
suitable than the default factor of 6 that was proposed in
d7aebc72899.
6 can be too restrictive on certain workloads and reject cheaper csels in favour
of conditional branches.
On an Olympus core, this change improves SPEC2017 fp rate geomean by 1% while
the int rate geomean is unchanged. There are no visible regressions >1%.
Additionally, github.com/facebook/zstd retains the performance improvement this
patch introduced.
Signed-off-by: Soumya AR <soumyaa@nvidia.com>
gcc/ChangeLog:
* config/aarch64/tuning_models/generic.h: Update br_mispredict_factor
to 7.
{
1, /* Predictable. */
3, /* Unpredictable. */
- 6, /* br_mispredict_factor. */
+ 7, /* br_mispredict_factor. */
};
/* Generic approximation modes. */