From 82896b222cc993fb4fb617932afd1f24e82828d6 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Wed, 15 Nov 2017 16:05:07 +0000 Subject: [PATCH] arm.h (TARGET_DOTPROD): Add arm_arch8_2. 2017-11-15 Tamar Christina * config/arm/arm.h (TARGET_DOTPROD): Add arm_arch8_2. From-SVN: r254775 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.h | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e2e4151859..b4f1fcbdba7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-11-15 Tamar Christina + + * config/arm/arm.h (TARGET_DOTPROD): Add arm_arch8_2. + 2017-11-15 Martin Liska * tree-cfg.c (pass_warn_function_return::execute): diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 9567f6df73a..b189951c934 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 \ -- 2.30.2