1 /* Tuning model description for AArch64 architecture.
2 Copyright (C) 2009-2023 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_CORTEXA35
21 #define GCC_AARCH64_H_CORTEXA35
24 #include "cortexa53.h"
26 static const struct tune_params cortexa35_tunings
=
28 &cortexa53_extra_costs
,
29 &generic_addrcost_table
,
30 &cortexa53_regmove_cost
,
33 &generic_approx_modes
,
34 SVE_NOT_IMPLEMENTED
, /* sve_width */
43 (AARCH64_FUSE_AES_AESMC
| AARCH64_FUSE_MOV_MOVK
| AARCH64_FUSE_ADRP_ADD
44 | AARCH64_FUSE_MOVK_MOVK
| AARCH64_FUSE_ADRP_LDR
), /* fusible_ops */
45 "16", /* function_align. */
46 "4", /* jump_align. */
47 "8", /* loop_align. */
48 2, /* int_reassoc_width. */
49 4, /* fp_reassoc_width. */
50 1, /* fma_reassoc_width. */
51 1, /* vec_reassoc_width. */
52 2, /* min_div_recip_mul_sf. */
53 2, /* min_div_recip_mul_df. */
54 0, /* max_case_values. */
55 tune_params::AUTOPREFETCHER_WEAK
, /* autoprefetcher_model. */
56 (AARCH64_EXTRA_TUNE_NONE
), /* tune_flags. */
57 &generic_prefetch_tune
,
58 AARCH64_LDP_STP_POLICY_ALWAYS
, /* ldp_policy_model. */
59 AARCH64_LDP_STP_POLICY_ALWAYS
/* stp_policy_model. */
62 #endif /* GCC_AARCH64_H_CORTEXA35. */