From: Matthew Wahab Date: Thu, 26 Nov 2015 13:39:20 +0000 (+0000) Subject: [AArch64] Add support for ARMv8.1 Adv.SIMD instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3735e01f9da802443fb8e7cfdcdddb8c98233e7;p=gcc.git [AArch64] Add support for ARMv8.1 Adv.SIMD instructions. * config/aarch64/aarch64.h (AARCH64_ISA_RDMA): New. (TARGET_SIMD_RDMA): New. From-SVN: r230953 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5ca6cc718b7..f81ce7981e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-26 Matthew Wahab + + * config/aarch64/aarch64.h (AARCH64_ISA_RDMA): New. + (TARGET_SIMD_RDMA): New. + 2015-11-26 Kyrylo Tkachov * combine.c (subst): Do not return clobber of zero in widening mult diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 8834c9b4dd0..68c006fa91f 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -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: