[ARM] Restrict MAX_CONDITIONAL_EXECUTE when -mrestrict-it is in place
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 11 Jun 2015 10:01:11 +0000 (10:01 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 11 Jun 2015 10:01:11 +0000 (10:01 +0000)
commit06b8f7acf3786fafb54e402ebdf794e7ee3caa3e
tree55ab11bcdbb23411548e1e260602175106ac6535
parent41927df0256a8ed9aee931306e92eef26ea6fd8d
[ARM] Restrict MAX_CONDITIONAL_EXECUTE when -mrestrict-it is in place

* config/arm/arm.c (arm_option_params_internal): When optimising
for speed set max_insns_skipped when arm_restrict_it.

* gcc.target/arm/short-it-ifcvt-1.c: New test.
* gcc.target/arm/short-it-ifcvt-2.c: Likewise.

From-SVN: r224367
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/short-it-ifcvt-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/short-it-ifcvt-2.c [new file with mode: 0644]