arm: Low overhead loop handle long range branches [PR98931]
authorAndrea Corallo <andrea.corallo@arm.com>
Wed, 3 Feb 2021 14:21:54 +0000 (15:21 +0100)
committerAndrea Corallo <andrea.corallo@arm.com>
Thu, 11 Feb 2021 15:20:59 +0000 (16:20 +0100)
commit38c5703449c0638618ba6896f0d039c3868ad4e0
tree848c1145e85db131379e114b139a4ee3b648912d
parent4af29981ab57ad7ef4467e371e4145cce9c16eaa
arm: Low overhead loop handle long range branches [PR98931]

gcc/
PR target/98931
* config/arm/thumb2.md (*doloop_end_internal): Generate
alternative sequence to handle long range branches.

gcc/testsuite/
PR target/98931
* gcc.target/arm/pr98931.c: New testcase.
gcc/config/arm/thumb2.md
gcc/testsuite/gcc.target/arm/pr98931.c [new file with mode: 0644]