]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/aarch64/aarch64-fusion-pairs.def
Enable instruction fusion of dependent AESE; AESMC and AESD; AESIMC pairs.
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 10 Feb 2016 12:52:23 +0000 (12:52 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Wed, 10 Feb 2016 12:52:23 +0000 (12:52 +0000)
commit00a8574af2b7df89e82dab3c415de8b7cb48a333
tree4c879ecb760ddc8f8f42a294ede6907a665ed74a
parent24a179f835ec7ce4376071d3744ecd0083841ae7
Enable instruction fusion of dependent AESE; AESMC and AESD; AESIMC pairs.

This can give up to 2x speedup on many AArch64 implementations. Also model
the crypto instructions on Cortex-A57 according to the Optimization Guide.

    gcc/
        * config/aarch64/aarch64.c (cortexa53_tunings): Enable AES fusion.
        (cortexa57_tunings): Likewise.
        (cortexa72_tunings): Likewise.
        (arch_macro_fusion_pair_p): Add support for AES fusion.
        * config/aarch64/aarch64-fusion-pairs.def: Add AES_AESMC entry.
        * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
        Allow virtual registers before reload so early scheduling works.
        * config/arm/cortex-a57.md (cortex_a57_crypto_simple): Use
        correct latency and pipeline.
        (cortex_a57_crypto_complex): Likewise.
        (cortex_a57_crypto_xor): Likewise.
        (define_bypass): Add AES bypass.

From-SVN: r233268
gcc/ChangeLog
gcc/config/aarch64/aarch64-fusion-pairs.def
gcc/config/aarch64/aarch64.c
gcc/config/arm/aarch-common.c
gcc/config/arm/cortex-a57.md