Introduce AArch64 Crypto instruction types.
authorbelagod <belagod@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Dec 2013 14:44:55 +0000 (14:44 +0000)
committerbelagod <belagod@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Dec 2013 14:44:55 +0000 (14:44 +0000)
* config/arm/types.md (neon_mul_d_long, crypto_aes, crypto_sha1_xor,
crypto_sha1_fast, crypto_sha1_slow, crypto_sha256_fast,
crypto_sha256_slow): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206115 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/types.md

index ced3eb7..63a22c8 100644 (file)
@@ -1,5 +1,11 @@
 2013-12-19  Tejas Belagod  <tejas.belagod@arm.com>
 
+       * config/arm/types.md (neon_mul_d_long, crypto_aes, crypto_sha1_xor,
+       crypto_sha1_fast, crypto_sha1_slow, crypto_sha256_fast,
+       crypto_sha256_slow): New.
+
+2013-12-19  Tejas Belagod  <tejas.belagod@arm.com>
+
        * config/aarch64/aarch64.h (TARGET_CRYPTO): New.
        (__ARM_FEATURE_CRYPTO): Define if TARGET_CRYPTO is true.
 
index 6351f08..0ff9b08 100644 (file)
 ; neon_mul_b_long
 ; neon_mul_h_long
 ; neon_mul_s_long
+; neon_mul_d_long
 ; neon_mul_h_scalar
 ; neon_mul_h_scalar_q
 ; neon_mul_s_scalar
 ; neon_fp_div_s_q
 ; neon_fp_div_d
 ; neon_fp_div_d_q
+;
+; The classification below is for Crypto instructions.
+;
+; crypto_aes
+; crypto_sha1_xor
+; crypto_sha1_fast
+; crypto_sha1_slow
+; crypto_sha256_fast
+; crypto_sha256_slow
 
 (define_attr "type"
  "adc_imm,\
   neon_mul_b_long,\
   neon_mul_h_long,\
   neon_mul_s_long,\
+  neon_mul_d_long,\
   neon_mul_h_scalar,\
   neon_mul_h_scalar_q,\
   neon_mul_s_scalar,\
   neon_fp_div_s,\
   neon_fp_div_s_q,\
   neon_fp_div_d,\
-  neon_fp_div_d_q"
+  neon_fp_div_d_q,\
+\
+  crypto_aes,\
+  crypto_sha1_xor,\
+  crypto_sha1_fast,\
+  crypto_sha1_slow,\
+  crypto_sha256_fast,\
+  crypto_sha256_slow"
    (const_string "untyped"))
 
 ; Is this an (integer side) multiply with a 32-bit (or smaller) result?