Improve max_insns_skipped logic
commit988ae4ee37e76bb25551f231e7ada562a0ebfb2b
authorwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2017 17:22:51 +0000 (5 17:22 +0000)
committerwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2017 17:22:51 +0000 (5 17:22 +0000)
tree1537c9c18f0dd49c1bc42405a1848868f550833f
parentd960aadf72c323db640bf2ba3e90621eab92cb26
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251720 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c