]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/aarch64/tuning_models/neoversen1.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / aarch64 / tuning_models / neoversen1.h
CommitLineData
4b6da8e7 1/* Tuning model description for AArch64 architecture.
a945c346 2 Copyright (C) 2009-2024 Free Software Foundation, Inc.
4b6da8e7
TC
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_NEOVERSEN1
21#define GCC_AARCH64_H_NEOVERSEN1
22
23#include "generic.h"
24
25static const struct tune_params neoversen1_tunings =
26{
27 &cortexa76_extra_costs,
28 &generic_addrcost_table,
29 &generic_regmove_cost,
30 &cortexa57_vector_cost,
31 &generic_branch_cost,
32 &generic_approx_modes,
33 SVE_NOT_IMPLEMENTED, /* sve_width */
34 { 4, /* load_int. */
35 2, /* store_int. */
36 5, /* load_fp. */
37 2, /* store_fp. */
38 4, /* load_pred. */
39 4 /* store_pred. */
40 }, /* memmov_cost. */
41 3, /* issue_rate */
42 (AARCH64_FUSE_AES_AESMC | AARCH64_FUSE_CMP_BRANCH), /* fusible_ops */
43 "32:16", /* function_align. */
44 "4", /* jump_align. */
45 "32:16", /* loop_align. */
46 2, /* int_reassoc_width. */
47 4, /* fp_reassoc_width. */
48 1, /* fma_reassoc_width. */
49 2, /* vec_reassoc_width. */
50 2, /* min_div_recip_mul_sf. */
51 2, /* min_div_recip_mul_df. */
52 0, /* max_case_values. */
53 tune_params::AUTOPREFETCHER_WEAK, /* autoprefetcher_model. */
54 (AARCH64_EXTRA_TUNE_CHEAP_SHIFT_EXTEND), /* tune_flags. */
55 &generic_prefetch_tune,
56 AARCH64_LDP_STP_POLICY_ALWAYS, /* ldp_policy_model. */
57 AARCH64_LDP_STP_POLICY_ALWAYS /* stp_policy_model. */
58};
59
60#endif /* GCC_AARCH64_H_NEOVERSEN1. */