[AArch64] Add support for ARMv8.1 Adv.SIMD instructions.
authorMatthew Wahab <matthew.wahab@arm.com>
Thu, 26 Nov 2015 13:39:20 +0000 (13:39 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Thu, 26 Nov 2015 13:39:20 +0000 (13:39 +0000)
* config/aarch64/aarch64.h (AARCH64_ISA_RDMA): New.
(TARGET_SIMD_RDMA): New.

From-SVN: r230953

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

index 5ca6cc718b7c9b6320652e0335d3690ceca3d4f5..f81ce7981e8da05e738efae0a189e67efd58cdcb 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-26  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/aarch64/aarch64.h (AARCH64_ISA_RDMA): New.
+       (TARGET_SIMD_RDMA): New.
+
 2015-11-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * combine.c (subst): Do not return clobber of zero in widening mult
index 8834c9b4dd0b5e87243189f045f63c0d3621f15f..68c006fa91f6326140cf447c7f4578ac46c24f79 100644 (file)
@@ -157,6 +157,7 @@ extern unsigned aarch64_architecture_version;
 #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)
+#define AARCH64_ISA_RDMA          (aarch64_isa_flags & AARCH64_FL_RDMA)
 
 /* Crypto is an optional extension to AdvSIMD.  */
 #define TARGET_CRYPTO (TARGET_SIMD && AARCH64_ISA_CRYPTO)
@@ -181,6 +182,9 @@ extern unsigned aarch64_architecture_version;
   ((aarch64_fix_a53_err835769 == 2)    \
   ? TARGET_FIX_ERR_A53_835769_DEFAULT : aarch64_fix_a53_err835769)
 
+/* ARMv8.1 Adv.SIMD support.  */
+#define TARGET_SIMD_RDMA (TARGET_SIMD && AARCH64_ISA_RDMA)
+
 /* Standard register usage.  */
 
 /* 31 64-bit general purpose registers R0-R30: