From: Saurabh Jha <[email protected]>
We model how instructions use pipelines in the Neoverse V3 core so that
we can use that information in the sched2 pass. Concretely, we introduce
a new instruction attribute, neoversev3_dispatch, and set this attribute
to instructions based on what pipelines they use. We set the attributes
using 'type' and 'sve_type' attributes of instructions.
The Neoverse V3 Software Optimization Guide (SWOG) specifies the
constraints on certain pipelines with respect to how many instructions
can be issued to those in a cycle. Additionally, there are limits on the
total number of instructions that can be dispatched in a single cycle.
We model these constraints in the neoversev3_dispatch_max_slots array
and model the use of pipelines in
neoversev3_dispatch_constraint_callback.
Regression tested on aarch64-linux-gnu and found no regressions.
Additionally, ran SPEC 2017 and SPEC 2026 using the compilation flags
`-mcpu=neoverse-v3 -Ofast`, compared them with master using the same
flags on a Neoverse V3 core, and found no performance regressions.
gcc/ChangeLog:
* config/aarch64/aarch64.md: Include the neoversev3.md file.
* config/aarch64/tuning_models/neoversev3.h
(enum neoversev3_dispatch_constraint_type): Indices for pipes in
neoversev3_dispatch_max_slots.
(neoversev3_dispatch_max_slots): Pipes with dispatch
constraints.
(neoversev3_dispatch_constraint_callback): Models the use of
pipelines by different instructions using neoversev3_dispatch
attribute.
* config/aarch64/neoversev3.md: New file. Introduces
neoversev3_dispatch attribute.
---
gcc/config/aarch64/aarch64.md | 1 +
gcc/config/aarch64/neoversev3.md | 260 ++++++++++++++++++
gcc/config/aarch64/tuning_models/neoversev3.h | 145 +++++++++-
3 files changed, 404 insertions(+), 2 deletions(-)
create mode 100644 gcc/config/aarch64/neoversev3.md
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 8d0e50db27226..6cdae6fd33667 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -705,6 +705,7 @@
;; Dispatch scheduling
(include "neoversev2.md")
+(include "neoversev3.md")
(include "olympus.md")
;; -------------------------------------------------------------------
diff --git a/gcc/config/aarch64/neoversev3.md b/gcc/config/aarch64/neoversev3.md
new file mode 100644
index 0000000000000..76cd16938a649
--- /dev/null
+++ b/gcc/config/aarch64/neoversev3.md
@@ -0,0 +1,260 @@
+;; Instruction attribute for dispatch scheduling in Neoverse V3.
+;; Copyright The GNU Toolchain Authors.
+;;
+;; This file is part of GCC.
+;;
+;; GCC is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+;;
+;; GCC is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GCC; see the file COPYING3. If not see
+;; <http://www.gnu.org/licenses/>.
+
+;; Attribute that groups instructions into dispatch groups for Neoverse V3
+;; cores.
+;; Dispatch groups are based on the SWOG "Utilized Pipelines" column of
+;; instruction tables.
+;; Dispatch groups are assigned to instructions based on instruction 'type' and
+;; 'sve_type' attribute.
+;;
+;; A dispatch group value containing a "_" represents a combinations of
+;; dispatch groups.
+;;
+;; We only include those pipelines by themselves which have constraints as
+;; described in section 4.1 of the SWOG.
+;; For example, because the 'I' pipe doesn't have any constraints, it is not
+;; included in the dispatch group by itself.
+;; But if 'I' appears together with a pipeline which has dispatch
+;; constraints, like 'M, I', it is included as a dispatch group 'm_i'.
+;;
+;; We also include pipeline groups like 'SA,D' where none of the pipes have
+;; constraints.
+;; The reason for these groups is to correctly count the use of total slots.
+;; For single unconstrained types, we just increment the use of total slots by
+;; 1.
+;;
+;; We don't care about ordering of pipelines so 'M, I' and 'I, M' would both be
+;; represented by 'm_i'.
+;;
+;; Sometimes, the instruction types are not precise enough with one instruction
+;; type mapping to multiple dispatch groups.
+;; We notate those in inline comments.
+
+(define_attr "neoversev3_dispatch"
+ "none,b,b_s,d_sa,l,l_v,m0,m0_m,m0_m_v,m0_v,m0_v02,m0_v1,m,m_l,m_v0,\
+ v0,v01,v01_sa,v02,v1,v13,v_v13"
+ (cond [;; branch instructions.
+ (eq_attr "type" "branch") (const_string "b")
+ ;; call instructions.
+ (eq_attr "type" "call") (const_string "b_s")
+ ;; arithmetic, logical, multiply, and miscellaneous data-processing
+ ;; instructions.
+ (eq_attr "type" "alu_ext,alus_ext,alu_shift_imm_other,alus_shift_imm,\
+ logics_shift_imm,mul,smull,umull,mla,smlal,umlal,\
+ rotate_imm,bfm")
+ (const_string "m")
+ ;; divide instructions.
+ (eq_attr "type" "sdiv,udiv") (const_string "m0")
+ ;; memtag instructions.
+ (eq_attr "type" "memtag")
+ (const_string "m0_m")
+ ;; load instructions.
+ ;; Some instructions map to both I and L but we're mapping all to 'l'.
+ (eq_attr "type" "load_byte,load_4,load_8,load_16") (const_string "l")
+ ;; store instructions.
+ ;; Some instructions map to "SA, D, I" but we're mapping all to 'd_sa'.
+ (eq_attr "type" "store_4,store_8,store_16") (const_string "d_sa")
+ ;; fp compare instructions.
+ (eq_attr "type" "fcmpd,fcmps,fccmpd,fccmps") (const_string "v0")
+ ;; fp divide and fp square root instructions.
+ (eq_attr "type" "fdivd,fdivs,fsqrtd,fsqrts") (const_string "v1")
+ ;; fp round to integral instructions.
+ (eq_attr "type" "f_rintd,f_rints") (const_string "v02")
+ ;; fp convert instructions, from gen to vec reg.
+ (eq_attr "type" "f_cvti2f") (const_string "m0")
+ ;; fp convert instructions, from vec to gen reg.
+ (eq_attr "type" "f_cvtf2i") (const_string "v01")
+ ;; fp convert instructions, from vec to vec reg.
+ (eq_attr "type" "f_cvt") (const_string "v02")
+ ;; fp transfer instructions, from gen to vec reg.
+ ;; Gen to low half uses M0 and to high half uses M0, V.
+ ;; Mapping both to 'm0_v'.
+ (eq_attr "type" "f_mcr") (const_string "m0_v")
+ ;; fp transfer instructions, from vec to gen reg.
+ (eq_attr "type" "f_mrc") (const_string "v01")
+ ;; fp load instructions.
+ ;; Some floating point loads use neon instruction types.
+ ;; Some instructions map to both I and L but we're mapping all to 'l'.
+ (eq_attr "type" "f_loadd,f_loads,\
+ neon_load1_1reg, neon_load1_1reg_q,\
+ neon_load1_2reg,neon_load1_2reg_q,\
+ neon_ldp,neon_ldp_q")
+ (const_string "l")
+ ;; fp store instructions.
+ ;; Some floating point stores use neon instruction types.
+ ;; Some instruction types use 'SA, V01, I' but we're mapping all to
+ ;; 'v01_sa'.
+ (eq_attr "type" "f_stored,f_stores,\
+ neon_store1_1reg,neon_store1_1reg_q,\
+ neon_store1_2reg,neon_store1_2reg_q,\
+ neon_stp,neon_stp_q")
+ (const_string "v01_sa")
+ ;; neon integer reduce instructions.
+ ;; Some of these instructions use 'V13,V' but mapping all of them to
+ ;; v13.
+ (eq_attr "type" "neon_reduc_add,neon_reduc_add_q,\
+ neon_reduc_minmax,neon_reduc_minmax_q")
+ (const_string "v13")
+ ;; neon multiply and multiply add instructions.
+ (eq_attr "type" "neon_mul_b,neon_mul_h,neon_mul_s,\
+ neon_mul_b_q,neon_mul_h_q,neon_mul_s_q,\
+ neon_sat_mul_h,neon_sat_mul_s,\
+ neon_sat_mul_h_q,neon_sat_mul_s_q,\
+ neon_sat_mul_h_scalar,neon_sat_mul_s_scalar,\
+ neon_sat_mul_h_scalar_q,neon_sat_mul_s_scalar_q,\
+ neon_mla_b,neon_mla_h,neon_mla_s,\
+ neon_mla_b_q,neon_mla_h_q,neon_mla_s_q,\
+ neon_mla_h_scalar,neon_mla_s_scalar,\
+ neon_mla_h_scalar_q,neon_mla_s_scalar_q,\
+ neon_sat_mla_h_long,neon_sat_mla_s_long,\
+ neon_sat_mla_h_scalar_long,\
+ neon_sat_mla_s_scalar_long,\
+ neon_mla_b_long,neon_mla_h_long,neon_mla_s_long,\
+ neon_mla_h_scalar_long,neon_mla_s_scalar_long,\
+ neon_mul_b_long,neon_mul_h_long,neon_mul_s_long,\
+ neon_mul_h_scalar_long,neon_mul_s_scalar_long,\
+ neon_sat_mul_h_long,neon_sat_mul_s_long,\
+ neon_sat_mul_h_scalar_long,\
+ neon_sat_mul_s_scalar_long")
+ (const_string "v02")
+ ;; neon fp divide and sqrt instructions.
+ (eq_attr "type" "neon_fp_div_s,neon_fp_div_s_q,\
+ neon_fp_div_d,neon_fp_div_d_q,\
+ neon_fp_sqrt_s,neon_fp_sqrt_s_q,\
+ neon_fp_sqrt_d,neon_fp_sqrt_d_q")
+ (const_string "v1")
+ ;; neon fp convert instructions.
+ (eq_attr "type" "neon_fp_cvt_widen_s,\
+ neon_fp_to_int_s,neon_fp_to_int_s_q,\
+ neon_fp_to_int_d,neon_fp_to_int_d_q,\
+ neon_int_to_fp_s,neon_int_to_fp_s_q,\
+ neon_int_to_fp_d,neon_int_to_fp_d_q,\
+ neon_fp_round_s,neon_fp_round_s_q,\
+ neon_fp_round_d,neon_fp_round_d_q,\
+ neon_fp_cvt_narrow_d_q,neon_fp_cvt_narrow_s_q")
+ (const_string "v02")
+ ;; neon reciprocal and sqrt instructions.
+ ;; Some of these instructions use 'V' pipeline but mapping them all to
+ ;; 'V02'.
+ (eq_attr "type" "neon_fp_recpe_s,neon_fp_recpe_s_q,\
+ neon_fp_recpe_d,neon_fp_recpe_d_q,\
+ neon_fp_rsqrte_s,neon_fp_rsqrte_s_q,\
+ neon_fp_rsqrte_d,neon_fp_rsqrte_d_q,\
+ neon_fp_recpx_s,neon_fp_recpx_d")
+ (const_string "v02")
+ ;; neon transfer, element to gen reg, instructions.
+ (eq_attr "type" "neon_to_gp,neon_to_gp_q") (const_string "v01")
+ ;; neon transfer, gen reg to element, instructions.
+ (eq_attr "type" "neon_from_gp,neon_from_gp_q") (const_string "m0_v")
+ ;; neon load instructions.
+ (eq_attr "type" "neon_load1_1reg,neon_load1_1reg_q,\
+ neon_load1_2reg,neon_load1_2reg_q,\
+ neon_load1_3reg,neon_load1_3reg_q,\
+ neon_load1_4reg,neon_load1_4reg_q")
+ (const_string "l")
+ ;; neon load lanes instructions.
+ (eq_attr "type" "neon_load1_one_lane,neon_load1_one_lane_q,\
+ neon_load1_all_lanes,\
+ neon_load2_2reg,neon_load2_2reg_q,\
+ neon_load2_one_lane,\
+ neon_load2_all_lanes,neon_load2_all_lanes_q,\
+ neon_load3_3reg,neon_load3_3reg_q,\
+ neon_load3_one_lane,\
+ neon_load3_all_lanes,neon_load3_all_lanes_q,\
+ neon_load4_4reg,neon_load4_4reg_q,\
+ neon_load4_one_lane,\
+ neon_load4_all_lanes,neon_load4_all_lanes_q")
+ (const_string "l_v")
+ ;; neon store and store lane instructions.
+ (eq_attr "type" "neon_store1_1reg,neon_store1_1reg_q,\
+ neon_store1_2reg,neon_store1_2reg_q,\
+ neon_store1_3reg,neon_store1_3reg_q,\
+ neon_store1_4reg,neon_store1_4reg_q,\
+ neon_store1_one_lane,neon_store1_one_lane_q,\
+ neon_store2_2reg,neon_store2_2reg_q,\
+ neon_store2_one_lane,neon_store2_one_lane_q,\
+ neon_store3_3reg,neon_store3_3reg_q,\
+ neon_store3_one_lane,neon_store3_one_lane_q,\
+ neon_store4_4reg,neon_store4_4reg_q,\
+ neon_store4_one_lane,neon_store4_one_lane_q")
+ (const_string "v01_sa")
+ (eq_attr "type" "crypto_sha1_fast,crypto_sha1_slow,crypto_sha1_xor,\
+ crypto_sha256_fast,crypto_sha256_slow,\
+ crypto_sha512,crypto_sm3,crypto_sm4")
+ (const_string "v0")
+ ;; crc instructions.
+ (eq_attr "type" "crc") (const_string "m0")
+ ;; sve predicate instructions.
+ (eq_attr "sve_type" "sve_pred_logical,sve_pred_cnt_ctrl,\
+ sve_pred_cnt_scalar,sve_pred_misc")
+ (const_string "m")
+ (eq_attr "sve_type" "sve_pred_vec") (const_string "m0_m_v")
+ ;; sve bit manipulation instructions.
+ (eq_attr "sve_type" "sve_int_bit_perm") (const_string "v1")
+ ;; sve compare and set flags instructions.
+ (eq_attr "sve_type" "sve_int_cmp_set,sve_int_div") (const_string "v0")
+ ;; sve shift and shift and accumulate instructions.
+ (eq_attr "sve_type" "sve_int_shift") (const_string "v13")
+ ;; sve complex multiply and complex dot product instructions.
+ ;; sve 8-bit dot product uses 'V' pipeline but mapping it to 'V02'.
+ (eq_attr "sve_type" "sve_int_mul,sve_int_dot") (const_string "v02")
+ ;; sve convert integer to floating point instructions.
+ (eq_attr "sve_type" "sve_int_cvt") (const_string "v02")
+ ;; sve reciprocal estimate instructions.
+ (eq_attr "sve_type" "sve_int_recip_est") (const_string "v02")
+ ;; sve index instructions.
+ (eq_attr "sve_type" "sve_int_index") (const_string "m0_v02")
+ ;; sve extract element after instructions.
+ ;; Some instructions use just 'V1' pipeline but mapping them to
+ ;; 'm0_v1'.
+ (eq_attr "sve_type" "sve_int_extract") (const_string "m0_v1")
+ ;; sve matching operations.
+ (eq_attr "sve_type" "sve_int_match") (const_string "m_v0")
+ ;; sve reduction arithmetic.
+ ;; Some instructions use just 'V' pipeline but mapping them to `v_v13`.
+ (eq_attr "sve_type" "sve_int_reduc") (const_string "v_v13")
+ ;; sve fp compare instructions.
+ (eq_attr "sve_type" "sve_fp_cmp") (const_string "v0")
+ ;; sve fp convert and log instructions.
+ (eq_attr "sve_type" "sve_fp_cvt,sve_fp_log") (const_string "v02")
+ ;; sve fp division, square root, associative add, and
+ ;; trigonometric exponentiation instructions.
+ (eq_attr "sve_type" "sve_fp_div,sve_fp_sqrt,sve_fp_assoc_add,\
+ sve_fp_exp")
+ (const_string "v1")
+ ;; sve load instructions.
+ (eq_attr "sve_type" "sve_load_1reg") (const_string "l")
+ ;; sve load predicate instructions.
+ (eq_attr "sve_type" "sve_load_pred") (const_string "m_l")
+ ;; sve multi structure and gather load instructions.
+ (eq_attr "sve_type" "sve_load_2reg,sve_load_3reg,sve_load_4reg,\
+ sve_gatherload_32,sve_gatherload_64")
+ (const_string "l_v")
+ ;; sve store instructions.
+ ;; Some instructions use 'SA,I,V01' but mapping them to 'v01_sa'.
+ (eq_attr "sve_type" "sve_store_1reg,sve_store_2reg,\
+ sve_store_3reg,sve_store_4reg,\
+ sve_scatterstore_32,sve_scatterstore_64")
+ (const_string "v01_sa")
+ ;; sve first fault register instructions.
+ ;; Some map to 'M0' pipeline but mapping them to `m0_m`.
+ (eq_attr "sve_type" "sve_ffr") (const_string "m0_m")
+ ]
+ (const_string "none")))
diff --git a/gcc/config/aarch64/tuning_models/neoversev3.h
b/gcc/config/aarch64/tuning_models/neoversev3.h
index 7e0144032dc60..f34809941b712 100644
--- a/gcc/config/aarch64/tuning_models/neoversev3.h
+++ b/gcc/config/aarch64/tuning_models/neoversev3.h
@@ -21,6 +21,8 @@
#define GCC_AARCH64_H_NEOVERSEV3
#include "generic.h"
+#include "vec.h"
+#include "../aarch64-sched-dispatch.h"
static const struct cpu_regmove_cost neoversev3_regmove_cost =
{
@@ -188,6 +190,144 @@ static const struct cpu_vector_cost
neoversev3_vector_cost =
&neoversev3_vec_issue_info /* issue_info */
};
+/* Neoverse V3 dispatch constraint type. */
+enum neoversev3_dispatch_constraint_type
+{
+ NEOVERSEV3_TOTAL_SLOTS, /* Total slots. */
+ NEOVERSEV3_B_PIPES, /* B pipelines. */
+ NEOVERSEV3_M_PIPES, /* M pipelines. */
+ NEOVERSEV3_M0_PIPE, /* M0 pipeline. */
+ NEOVERSEV3_V0_PIPE, /* V0 pipeline. */
+ NEOVERSEV3_V1_PIPE, /* V1 pipeline. */
+ NEOVERSEV3_L_PIPES, /* L pipelines. */
+};
+
+/* Neoverse V3 dispatch constraints for instruction scheduling. */
+static const int neoversev3_dispatch_max_slots[] = {
+ 20, /* Total slots. */
+ 4, /* B pipelines. */
+ 4, /* M pipelines. */
+ 2, /* M0 pipeline. */
+ 2, /* V0 pipeline. */
+ 2, /* V1 pipeline. */
+ 6, /* L pipelines. */
+};
+
+/* Neoverse V3 dispatch constraint callback function.
+ Determines which constraints apply to an instruction and how many slots
+ it requires.
+ Returns a vec of (constraint_index, slots_required) pairs. */
+static vec<std::pair<int, int>>
+neoversev3_dispatch_constraint_callback (rtx_insn *insn)
+{
+ auto dispatch_group = get_attr_neoversev3_dispatch (insn);
+ vec<std::pair<int, int>> constraints = vNULL;
+ int total_slots = 0;
+ switch (dispatch_group)
+ {
+ case NEOVERSEV3_DISPATCH_NONE:
+ // For uncategorised instructions, assume it can use any slot for one
+ // cycle.
+ total_slots += 1;
+ break;
+ case NEOVERSEV3_DISPATCH_B:
+ case NEOVERSEV3_DISPATCH_B_S:
+ constraints.safe_push ({NEOVERSEV3_B_PIPES, 1});
+ if (dispatch_group == NEOVERSEV3_DISPATCH_B_S)
+ total_slots += 2;
+ else
+ total_slots += 1;
+ break;
+ case NEOVERSEV3_DISPATCH_D_SA:
+ total_slots += 2;
+ break;
+ case NEOVERSEV3_DISPATCH_L:
+ case NEOVERSEV3_DISPATCH_L_V:
+ constraints.safe_push ({NEOVERSEV3_L_PIPES, 1});
+ if (dispatch_group == NEOVERSEV3_DISPATCH_L_V)
+ total_slots += 2;
+ else
+ total_slots += 1;
+ break;
+ case NEOVERSEV3_DISPATCH_M0:
+ case NEOVERSEV3_DISPATCH_M0_V:
+ constraints.safe_push ({NEOVERSEV3_M0_PIPE, 1});
+ if (dispatch_group == NEOVERSEV3_DISPATCH_M0_V)
+ total_slots += 2;
+ else
+ total_slots += 1;
+ break;
+ case NEOVERSEV3_DISPATCH_M0_M:
+ case NEOVERSEV3_DISPATCH_M0_M_V:
+ constraints.safe_push ({NEOVERSEV3_M0_PIPE, 1});
+ constraints.safe_push ({NEOVERSEV3_M_PIPES, 1});
+ if (dispatch_group == NEOVERSEV3_DISPATCH_M0_M_V)
+ total_slots += 3;
+ else
+ total_slots += 2;
+ break;
+ case NEOVERSEV3_DISPATCH_M0_V02:
+ case NEOVERSEV3_DISPATCH_M0_V1:
+ constraints.safe_push ({NEOVERSEV3_M0_PIPE, 1});
+ if (dispatch_group == NEOVERSEV3_DISPATCH_M0_V02)
+ constraints.safe_push ({NEOVERSEV3_V0_PIPE, 1});
+ else
+ constraints.safe_push ({NEOVERSEV3_V1_PIPE, 1});
+ total_slots += 2;
+ break;
+ case NEOVERSEV3_DISPATCH_M:
+ constraints.safe_push ({NEOVERSEV3_M_PIPES, 1});
+ total_slots += 1;
+ break;
+ case NEOVERSEV3_DISPATCH_M_L:
+ case NEOVERSEV3_DISPATCH_M_V0:
+ constraints.safe_push ({NEOVERSEV3_M_PIPES, 1});
+ if (dispatch_group == NEOVERSEV3_DISPATCH_M_L)
+ constraints.safe_push ({NEOVERSEV3_L_PIPES, 1});
+ else
+ constraints.safe_push ({NEOVERSEV3_V0_PIPE, 1});
+ total_slots += 2;
+ break;
+ case NEOVERSEV3_DISPATCH_V0:
+ constraints.safe_push ({NEOVERSEV3_V0_PIPE, 1});
+ total_slots += 1;
+ break;
+ case NEOVERSEV3_DISPATCH_V01:
+ case NEOVERSEV3_DISPATCH_V02:
+ case NEOVERSEV3_DISPATCH_V01_SA:
+ constraints.safe_push ({NEOVERSEV3_V0_PIPE, 1});
+ if (dispatch_group == NEOVERSEV3_DISPATCH_V01)
+ total_slots += 1;
+ else if (dispatch_group == NEOVERSEV3_DISPATCH_V02)
+ total_slots += 1;
+ else
+ total_slots += 2;
+ break;
+ case NEOVERSEV3_DISPATCH_V1:
+ case NEOVERSEV3_DISPATCH_V13:
+ case NEOVERSEV3_DISPATCH_V_V13:
+ constraints.safe_push ({NEOVERSEV3_V1_PIPE, 1});
+ if (dispatch_group == NEOVERSEV3_DISPATCH_V1)
+ total_slots += 1;
+ else if (dispatch_group == NEOVERSEV3_DISPATCH_V13)
+ total_slots += 1;
+ else
+ total_slots += 2;
+ break;
+ }
+ // Add total slots constraint.
+ constraints.safe_push ({NEOVERSEV3_TOTAL_SLOTS, total_slots});
+
+ return constraints;
+}
+
+static const struct dispatch_constraint_info
+neoversev3_dispatch_constraint_info = {
+ neoversev3_dispatch_max_slots, /* max_slots. */
+ ARRAY_SIZE (neoversev3_dispatch_max_slots), /* num_constraints. */
+ neoversev3_dispatch_constraint_callback /* callback. */
+};
+
static const struct tune_params neoversev3_tunings =
{
&cortexa76_extra_costs,
@@ -221,11 +361,12 @@ static const struct tune_params neoversev3_tunings =
| AARCH64_EXTRA_TUNE_CSE_SVE_VL_CONSTANTS
| AARCH64_EXTRA_TUNE_MATCHED_VECTOR_THROUGHPUT
| AARCH64_EXTRA_TUNE_AVOID_PRED_RMW
- | AARCH64_EXTRA_TUNE_AVOID_LDAPUR), /* tune_flags. */
+ | AARCH64_EXTRA_TUNE_AVOID_LDAPUR
+ | AARCH64_EXTRA_TUNE_DISPATCH_SCHED),
&generic_armv9a_prefetch_tune,
AARCH64_LDP_STP_POLICY_ALWAYS, /* ldp_policy_model. */
AARCH64_LDP_STP_POLICY_ALWAYS, /* stp_policy_model. */
- nullptr /* dispatch_constraints. */
+ &neoversev3_dispatch_constraint_info /* dispatch_constraints. */
};
#endif /* GCC_AARCH64_H_NEOVERSEV3. */
--
2.56.0