Introduce AArch64 Crypto instruction types.

* 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.

From-SVN: r206115
This commit is contained in:
Tejas Belagod 2013-12-19 14:44:55 +00:00 committed by Tejas Belagod
parent afb582f10f
commit 9783e5984b
2 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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> 2013-12-19 Tejas Belagod <tejas.belagod@arm.com>
* config/aarch64/aarch64.h (TARGET_CRYPTO): New. * config/aarch64/aarch64.h (TARGET_CRYPTO): New.

View File

@ -327,6 +327,7 @@
; neon_mul_b_long ; neon_mul_b_long
; neon_mul_h_long ; neon_mul_h_long
; neon_mul_s_long ; neon_mul_s_long
; neon_mul_d_long
; neon_mul_h_scalar ; neon_mul_h_scalar
; neon_mul_h_scalar_q ; neon_mul_h_scalar_q
; neon_mul_s_scalar ; neon_mul_s_scalar
@ -520,6 +521,15 @@
; neon_fp_div_s_q ; neon_fp_div_s_q
; neon_fp_div_d ; neon_fp_div_d
; neon_fp_div_d_q ; 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" (define_attr "type"
"adc_imm,\ "adc_imm,\
@ -823,6 +833,7 @@
neon_mul_b_long,\ neon_mul_b_long,\
neon_mul_h_long,\ neon_mul_h_long,\
neon_mul_s_long,\ neon_mul_s_long,\
neon_mul_d_long,\
neon_mul_h_scalar,\ neon_mul_h_scalar,\
neon_mul_h_scalar_q,\ neon_mul_h_scalar_q,\
neon_mul_s_scalar,\ neon_mul_s_scalar,\
@ -1037,7 +1048,14 @@
neon_fp_div_s,\ neon_fp_div_s,\
neon_fp_div_s_q,\ neon_fp_div_s_q,\
neon_fp_div_d,\ 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")) (const_string "untyped"))
; Is this an (integer side) multiply with a 32-bit (or smaller) result? ; Is this an (integer side) multiply with a 32-bit (or smaller) result?