aarch64.md (*condjump): Handle functions > 1 MiB.
authorThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 27 Aug 2015 10:08:54 +0000 (10:08 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 27 Aug 2015 10:08:54 +0000 (10:08 +0000)
commit973d2e01cbba2c89bbdf62d004833facc3d95637
treed1f2f1c2c249c6a7184b2ed4347520120dc249ce
parent3f2dd8cdb9a8a9f4a9ff1b0a3bc05badd2ba936c
aarch64.md (*condjump): Handle functions > 1 MiB.

2015-08-27  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
            Andre Vieira  <andre.simoesdiasvieira@arm.com>

    gcc/
    * config/aarch64/aarch64.md (*condjump): Handle functions > 1 MiB.
    (*cb<optab><mode>1): Likewise.
    (*tb<optab><mode>1): Likewise.
    (*cb<optab><mode>1): Likewise.
    * config/aarch64/iterators.md (inv_cb): New code attribute.
    (inv_tb): Likewise.
    * config/aarch64/aarch64.c (aarch64_gen_far_branch): New.
    * config/aarch64/aarch64-protos.h (aarch64_gen_far_branch): New.

    gcc/testsuite/
    * gcc.target/aarch64/long_branch_1.c: New test.

From-SVN: r227253
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.md
gcc/config/aarch64/iterators.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/long_branch_1.c [new file with mode: 0644]