Debian Codegraph @

gcc/config/aarch64/tuning_models/fujitsu_monaka.h

raw
1 /* Tuning model description for FUJITSU-MONAKA.
2 Copyright (C) 2009-2025 Free Software Foundation, Inc.
3
4 This file is part of GCC.
5
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)
9 any later version.
10
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.
15
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/>. */
19
20 #ifndef GCC_AARCH64_H_FUJITSU_MONAKA
21 #define GCC_AARCH64_H_FUJITSU_MONAKA
22
23 #include "generic.h"
24 #include "generic_armv9_a.h"
25
26 /* Tuning parameters for FUJITSU-MONAKA processor. It is copied from the
27 generic one except for the vector width for now. */
28 static const struct tune_params fujitsu_monaka_tunings =
29 {
30 &cortexa76_extra_costs,
31 &generic_armv9_a_addrcost_table,
32 &generic_armv9_a_regmove_cost,
33 &generic_armv9_a_vector_cost,
34 &generic_branch_cost,
35 &generic_approx_modes,
36 SVE_256, /* sve_width. */
37 { 4, /* load_int. */
38 1, /* store_int. */
39 6, /* load_fp. */
40 2, /* store_fp. */
41 6, /* load_pred. */
42 1 /* store_pred. */
43 }, /* memmov_cost. */
44 3, /* issue_rate. */
45 AARCH64_FUSE_BASE, /* fusible_ops. */
46 "32:16", /* function_align. */
47 "4", /* jump_align. */
48 "32:16", /* loop_align. */
49 2, /* int_reassoc_width. */
50 4, /* fp_reassoc_width. */
51 2, /* fma_reassoc_width. */
52 2, /* vec_reassoc_width. */
53 2, /* min_div_recip_mul_sf. */
54 2, /* min_div_recip_mul_df. */
55 0, /* max_case_values. */
56 tune_params::AUTOPREFETCHER_WEAK, /* autoprefetcher_model. */
57 (AARCH64_EXTRA_TUNE_BASE
58 | AARCH64_EXTRA_TUNE_MATCHED_VECTOR_THROUGHPUT), /* tune_flags. */
59 &generic_prefetch_tune,
60 AARCH64_LDP_STP_POLICY_ALWAYS, /* ldp_policy_model. */
61 AARCH64_LDP_STP_POLICY_ALWAYS /* stp_policy_model. */
62 };
63
64 #endif /* GCC_AARCH64_H_FUJITSU_MONAKA. */