[ARM] Tie operand 1 to operand 0 in AESMC pattern when fusing AES/AESMC
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 1 Jun 2016 10:37:27 +0000 (10:37 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 1 Jun 2016 10:37:27 +0000 (10:37 +0000)
commit39fa4aec86086b874af53424da8a6d4f5217729b
tree24a90875010c1639a83c3e28357d9457481720dd
parenta0dfeef505c7d5a619cc91d37acbfb9ea2c7f729
[ARM] Tie operand 1 to operand 0 in AESMC pattern when fusing AES/AESMC

* config/arm/arm.c (arm_fusion_enabled_p): New function.
* config/arm/arm-protos.h (arm_fusion_enabled_p): Declare prototype.
* config/arm/crypto.md (crypto_<crypto_pattern>, CRYPTO_UNARY):
Add "=w,0" alternative.  Enable it when AES/AESMC fusion is enabled.

From-SVN: r236982
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/crypto.md