1 /* Tuning model description for AArch64 architecture.
2 Copyright (C) 2009-2024 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
11 GCC is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef GCC_AARCH64_H_THUNDERXT88
21 #define GCC_AARCH64_H_THUNDERXT88
26 static const cpu_prefetch_tune thunderxt88_prefetch_tune
=
29 32, /* l1_cache_size */
30 128, /* l1_cache_line_size */
31 16*1024, /* l2_cache_size */
32 true, /* prefetch_dynamic_strides */
33 -1, /* minimum_stride */
34 3 /* default_opt_level */
37 static const struct tune_params thunderxt88_tunings
=
39 &thunderx_extra_costs
,
40 &generic_addrcost_table
,
41 &thunderx_regmove_cost
,
42 &thunderx_vector_cost
,
44 &generic_approx_modes
,
45 SVE_NOT_IMPLEMENTED
, /* sve_width */
54 AARCH64_FUSE_ALU_BRANCH
, /* fusible_ops */
55 "8", /* function_align. */
56 "8", /* jump_align. */
57 "8", /* loop_align. */
58 2, /* int_reassoc_width. */
59 4, /* fp_reassoc_width. */
60 1, /* fma_reassoc_width. */
61 1, /* vec_reassoc_width. */
62 2, /* min_div_recip_mul_sf. */
63 2, /* min_div_recip_mul_df. */
64 0, /* max_case_values. */
65 tune_params::AUTOPREFETCHER_OFF
, /* autoprefetcher_model. */
66 (AARCH64_EXTRA_TUNE_NONE
), /* tune_flags. */
67 &thunderxt88_prefetch_tune
,
68 AARCH64_LDP_STP_POLICY_ALIGNED
, /* ldp_policy_model. */
69 AARCH64_LDP_STP_POLICY_ALIGNED
/* stp_policy_model. */
72 #endif /* GCC_AARCH64_H_THUNDERXT88. */