aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2017-11-15 16:05:07 +0000
committerTamar Christina <tnfchris@gcc.gnu.org>2017-11-15 16:05:07 +0000
commit82896b222cc993fb4fb617932afd1f24e82828d6 (patch)
tree1db9fdbf0def54db237aa582d963e86c369ae89d /gcc
parentf804ba3e12e03dc1d0130b0ab7e9a792b4892d24 (diff)
downloadgcc-82896b222cc993fb4fb617932afd1f24e82828d6.zip
gcc-82896b222cc993fb4fb617932afd1f24e82828d6.tar.gz
gcc-82896b222cc993fb4fb617932afd1f24e82828d6.tar.bz2
arm.h (TARGET_DOTPROD): Add arm_arch8_2.
2017-11-15 Tamar Christina <tamar.christina@arm.com> * config/arm/arm.h (TARGET_DOTPROD): Add arm_arch8_2. From-SVN: r254775
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/arm.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4e2e415..b4f1fcb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-15 Tamar Christina <tamar.christina@arm.com>
+
+ * config/arm/arm.h (TARGET_DOTPROD): Add arm_arch8_2.
+
2017-11-15 Martin Liska <mliska@suse.cz>
* tree-cfg.c (pass_warn_function_return::execute):
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 9567f6d..b189951 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -210,10 +210,11 @@ extern tree arm_fp16_type_node;
/* FPU supports ARMv8.1 Adv.SIMD extensions. */
#define TARGET_NEON_RDMA (TARGET_NEON && arm_arch8_1)
-/* Supports for Dot Product AdvSIMD extensions. */
+/* Supports the Dot Product AdvSIMD extensions. */
#define TARGET_DOTPROD (TARGET_NEON \
&& bitmap_bit_p (arm_active_target.isa, \
- isa_bit_dotprod))
+ isa_bit_dotprod) \
+ && arm_arch8_2)
/* FPU supports the floating point FP16 instructions for ARMv8.2 and later. */
#define TARGET_VFP_FP16INST \