aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorMatthew Wahab <matthew.wahab@arm.com>2015-11-26 13:39:20 +0000
committerMatthew Wahab <mwahab@gcc.gnu.org>2015-11-26 13:39:20 +0000
commita3735e01f9da802443fb8e7cfdcdddb8c98233e7 (patch)
treef8078e7fb4ab7396ed9b40e66eb5ffaebdf7fb62 /gcc/config
parent6cfe90e6d75ec2a17dbe612ebc72cfd77f9e75f0 (diff)
downloadgcc-a3735e01f9da802443fb8e7cfdcdddb8c98233e7.zip
gcc-a3735e01f9da802443fb8e7cfdcdddb8c98233e7.tar.gz
gcc-a3735e01f9da802443fb8e7cfdcdddb8c98233e7.tar.bz2
[AArch64] Add support for ARMv8.1 Adv.SIMD instructions.
* config/aarch64/aarch64.h (AARCH64_ISA_RDMA): New. (TARGET_SIMD_RDMA): New. From-SVN: r230953
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/aarch64/aarch64.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 8834c9b..68c006f 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: