]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/aarch64/aarch64.h (AARCH64_ISA_LSE): New.
authormwahab <mwahab@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Aug 2015 11:20:07 +0000 (11:20 +0000)
committermwahab <mwahab@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Aug 2015 11:20:07 +0000 (11:20 +0000)
(TARGET_LSE): New.

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

gcc/ChangeLog
gcc/config/aarch64/aarch64.h

index e06330d384aef0ee51a1007722c2c4fc13017a63..f55b3f4a458d8179a16fedd220f7164d1e6b2e72 100644 (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
index d3ae393cdb89e30c1d0a29d8c2242319e6797061..1be78fc16dd5d739dcab29fc01c0a29d526f886b 100644 (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