[AArch64] Tie operand 1 to operand 0 in AESMC pattern when AES/AESMC fusion is enabled
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 27 May 2016 13:44:57 +0000 (13:44 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 27 May 2016 13:44:57 +0000 (13:44 +0000)
commitf2879a90ec9f0ec1a112d4bac81dae0f4d356e0d
treecffea8179a610d43159f46aba2d7088c8ac16b3f
parent88e3bdd195b7cc070eb7525c75b748fb55920b2e
[AArch64] Tie operand 1 to operand 0 in AESMC pattern when AES/AESMC fusion is enabled

* config/aarch64/aarch64.c (aarch64_fusion_enabled_p): New function.
* config/aarch64/aarch64-protos.h (aarch64_fusion_enabled_p): Declare
prototype.
* config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aesmc_op>v16qi):
Add "=w,0" alternative.  Enable it when AES/AESMC fusion is enabled.

From-SVN: r236820
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/aarch64.c