]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.h (TARGET_DOTPROD): Add arm_arch8_2.
authorTamar Christina <tamar.christina@arm.com>
Wed, 15 Nov 2017 16:05:07 +0000 (16:05 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Wed, 15 Nov 2017 16:05:07 +0000 (16:05 +0000)
2017-11-15  Tamar Christina  <tamar.christina@arm.com>

* config/arm/arm.h (TARGET_DOTPROD): Add arm_arch8_2.

From-SVN: r254775

gcc/ChangeLog
gcc/config/arm/arm.h

index 4e2e4151859918fec60627583ab50add49d7f66a..b4f1fcbdba76a62c3ceb88ac0b3a82be3574e790 100644 (file)
@@ -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):
index 9567f6df73a960ab08b3766fcf3677629658a5ab..b189951c934e327c88cc5893e9629515c9c39013 100644 (file)
@@ -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 \