[ARM] Improve max_cond_insns setting for Cortex cores
commitb3e3b9000be5f6636096d63444a2d62260f7cbec
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 4 Dec 2019 15:40:41 +0000 (4 15:40 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Wed, 4 Dec 2019 15:40:41 +0000 (4 15:40 +0000)
tree805a29e1b44291cb8264c612c7fcb192b3860740
parent09a214ac6bea2a7148e0694b6b1ab61e02485a53
[ARM] Improve max_cond_insns setting for Cortex cores

To enable cores to use the correct max_cond_insns setting, use the core-specific
tuning when a CPU/tune is selected unless -mrestrict-it is explicitly set.

On Cortex-A57 this gives 1.1% performance gain on SPECINT2006 as well as a
0.4% codesize reduction.

    gcc/
* config/arm/arm.c (arm_option_override_internal):
Use max_cond_insns from CPU tuning unless -mrestrict-it is used.

From-SVN: r278968
gcc/ChangeLog
gcc/config/arm/arm.c