[AArch64] Add support for fused compare and branch
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 4 Dec 2019 14:45:59 +0000 (14:45 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Wed, 4 Dec 2019 14:45:59 +0000 (14:45 +0000)
commita4f3fa716f9fc6fbab40b5d247db60385c69cd90
tree3806b67ba333c4957f494c6caaf1f2859a78f5b9
parent6d8d58a852b54b9e3002b62ea0e658a9a4bfbb93
[AArch64] Add support for fused compare and branch

Add support for fused compare with branch.  Rename the existing
AARCH64_FUSE_CMP_BRANCH to ALU_BRANCH, and AARCH64_FUSE_ALU_BRANCH
to ALU_CBZ to make it clear what is being fused.

    gcc/
* config/aarch64/aarch64.c
(thunderxt88_tunings): Use AARCH64_FUSE_ALU_BRANCH.
(thunderx_tunings): Likewise.
(tsv110_tunings): Use AARCH64_FUSE_ALU_BRANCH and AARCH64_FUSE_ALU_CBZ.
(thunderx2t99_tunings): Likewise.
(aarch_macro_fusion_pair_p): Add support for AARCH64_FUSE_CMP_BRANCH.
* config/aarch64/aarch64-fusion-pairs.def: Add ALU_CBZ fusion.

From-SVN: r278966
gcc/ChangeLog
gcc/config/aarch64/aarch64-fusion-pairs.def
gcc/config/aarch64/aarch64.c