]> git.ipfire.org Git - thirdparty/gcc.git/commit
[ARM] Tie operand 1 to operand 0 in AESMC pattern when fusing AES/AESMC
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jun 2016 10:37:27 +0000 (10:37 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jun 2016 10:37:27 +0000 (10:37 +0000)
commitc17f4a5a2eb72929724bc3450567cb18c0c878f7
tree24a90875010c1639a83c3e28357d9457481720dd
parent36757397a4f352af2e02c19fa2fe67bc1e3dba8e
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236982 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/crypto.md