Improve max_insns_skipped logic
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 5 Sep 2017 17:22:51 +0000 (17:22 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Tue, 5 Sep 2017 17:22:51 +0000 (17:22 +0000)
commite5fc06a3d339c7db391f199c51354f61a033b555
tree1537c9c18f0dd49c1bc42405a1848868f550833f
parentf174328efedff73f53cad8848fe69f92e940309a
Improve max_insns_skipped logic

Improve the logic when setting max_insns_skipped.  Limit the maximum size of IT
to MAX_INSN_PER_IT_BLOCK as otherwise multiple IT instructions are needed,
increasing codesize.  Given 4 works well for Thumb-2, use the same limit for ARM
for consistency.

    gcc/
* config/arm/arm.c (arm_option_params_internal): Improve setting of
max_insns_skipped.

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