Add missing definition crypto_sha256_fast, crypto_sha256_slow
authorJunmo Park <junmoz.park@samsung.com>
Wed, 11 Mar 2015 16:53:07 +0000 (16:53 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 11 Mar 2015 16:53:07 +0000 (16:53 +0000)
2015-03-11  Junmo Park  <junmoz.park@samsung.com>

* config/arm/cortex-a57.md (cortex_a57_crypto_simple): Add crypto_sha256_fast.
(cortex_a57_crypto_complex): Add crypto_sha256_slow.

From-SVN: r221349

gcc/ChangeLog
gcc/config/arm/cortex-a57.md

index 3e91636b16db00c5f42cc15d5535a2d786812f99..4adfa109dd7c62c3bdfd12dee7d4180602125d17 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-11  Junmo Park  <junmoz.park@samsung.com>
+
+       * config/arm/cortex-a57.md (cortex_a57_crypto_simple): Add crypto_sha256_fast.
+       (cortex_a57_crypto_complex): Add crypto_sha256_slow.
+
 2015-03-11  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/65310
index c9782f20e9534f97bdb5e9f180f7f61010f930f0..a32c848756b0af783463265f2c29a4fb1170ec72 100644 (file)
 
 (define_insn_reservation "cortex_a57_crypto_simple" 4
   (and (eq_attr "tune" "cortexa57")
-       (eq_attr "type" "crypto_aese,crypto_aesmc,crypto_sha1_fast"))
+       (eq_attr "type" "crypto_aese,crypto_aesmc,crypto_sha1_fast,crypto_sha256_fast"))
   "ca57_cx2")
 
 (define_insn_reservation "cortex_a57_crypto_complex" 7
   (and (eq_attr "tune" "cortexa57")
-       (eq_attr "type" "crypto_sha1_slow"))
+       (eq_attr "type" "crypto_sha1_slow,crypto_sha256_slow"))
   "ca57_cx2+(ca57_cx2_issue,ca57_cx2)")
 
 (define_insn_reservation "cortex_a57_crypto_xor" 7