Define TARGET_CRYPTO for AArch64.

* config/aarch64/aarch64.h (TARGET_CRYPTO): New.
	(__ARM_FEATURE_CRYPTO): Define if TARGET_CRYPTO is true.

From-SVN: r206114
This commit is contained in:
Tejas Belagod 2013-12-19 14:41:52 +00:00 committed by Tejas Belagod
parent 409f3b4663
commit afb582f10f
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.
2013-12-19 Dominik Vogt <vogt@linux.vnet.ibm.com>
Andreas Krebbel <Andreas.Krebbel@de.ibm.com>

View File

@ -54,6 +54,8 @@
cpp_define (parse_in, "_ILP32"); \
cpp_define (parse_in, "__ILP32__"); \
} \
if (TARGET_CRYPTO) \
builtin_define ("__ARM_FEATURE_CRYPTO"); \
} while (0)
@ -180,6 +182,8 @@ extern unsigned long aarch64_isa_flags;
extern unsigned long aarch64_tune_flags;
#define AARCH64_TUNE_SLOWMUL (aarch64_tune_flags & AARCH64_FL_SLOWMUL)
/* Crypto is an optional feature. */
#define TARGET_CRYPTO AARCH64_ISA_CRYPTO
/* Standard register usage. */