aarch64.h (AARCH64_ISA_LSE): New.

* config/aarch64/aarch64.h (AARCH64_ISA_LSE): New.
	(TARGET_LSE): New.

From-SVN: r226857
This commit is contained in:
Matthew Wahab 2015-08-13 11:20:07 +00:00 committed by Matthew Wahab
parent adacb5b14e
commit 045c2d32d9
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-08-13 Matthew Wahab <matthew.wahab@arm.com>
* config/aarch64/aarch64.h (AARCH64_ISA_LSE): New.
(TARGET_LSE): New.
2015-08-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/67191

View File

@ -156,6 +156,7 @@ extern unsigned aarch64_architecture_version;
#define AARCH64_ISA_CRYPTO (aarch64_isa_flags & AARCH64_FL_CRYPTO)
#define AARCH64_ISA_FP (aarch64_isa_flags & AARCH64_FL_FP)
#define AARCH64_ISA_SIMD (aarch64_isa_flags & AARCH64_FL_SIMD)
#define AARCH64_ISA_LSE (aarch64_isa_flags & AARCH64_FL_LSE)
/* Crypto is an optional extension to AdvSIMD. */
#define TARGET_CRYPTO (TARGET_SIMD && AARCH64_ISA_CRYPTO)
@ -163,6 +164,9 @@ extern unsigned aarch64_architecture_version;
/* CRC instructions that can be enabled through +crc arch extension. */
#define TARGET_CRC32 (AARCH64_ISA_CRC)
/* Atomic instructions that can be enabled through the +lse extension. */
#define TARGET_LSE (AARCH64_ISA_LSE)
/* Make sure this is always defined so we don't have to check for ifdefs
but rather use normal ifs. */
#ifndef TARGET_FIX_ERR_A53_835769_DEFAULT