From: Matthew Wahab Date: Thu, 13 Aug 2015 11:20:07 +0000 (+0000) Subject: aarch64.h (AARCH64_ISA_LSE): New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=045c2d32d9f8c0338cfffb0152088447acaced5e;p=gcc.git aarch64.h (AARCH64_ISA_LSE): New. * config/aarch64/aarch64.h (AARCH64_ISA_LSE): New. (TARGET_LSE): New. From-SVN: r226857 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e06330d384a..f55b3f4a458 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-13 Matthew Wahab + + * config/aarch64/aarch64.h (AARCH64_ISA_LSE): New. + (TARGET_LSE): New. + 2015-08-13 Richard Biener PR tree-optimization/67191 diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index d3ae393cdb8..1be78fc16dd 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -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