]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/aarch64/tuning_models/emag.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / aarch64 / tuning_models / emag.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_EMAG
21#define GCC_AARCH64_H_EMAG
22
23#include "generic.h"
24
25static const struct tune_params emag_tunings =
26{
27 &xgene1_extra_costs,
28 &xgene1_addrcost_table,
29 &xgene1_regmove_cost,
30 &xgene1_vector_cost,
31 &generic_branch_cost,
32 &xgene1_approx_modes,
33 SVE_NOT_IMPLEMENTED,
34 { 6, /* load_int. */
35 6, /* store_int. */
36 6, /* load_fp. */
37 6, /* store_fp. */
38 6, /* load_pred. */
39 6 /* store_pred. */
40 }, /* memmov_cost. */
41 4, /* issue_rate */
42 AARCH64_FUSE_NOTHING, /* fusible_ops */
43 "16", /* function_align. */
44 "16", /* jump_align. */
45 "16", /* loop_align. */
46 2, /* int_reassoc_width. */
47 4, /* fp_reassoc_width. */
48 1, /* fma_reassoc_width. */
49 1, /* vec_reassoc_width. */
50 2, /* min_div_recip_mul_sf. */
51 2, /* min_div_recip_mul_df. */
52 17, /* max_case_values. */
53 tune_params::AUTOPREFETCHER_OFF, /* autoprefetcher_model. */
54 (AARCH64_EXTRA_TUNE_NO_LDP_STP_QREGS), /* tune_flags. */
55 &xgene1_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_EMAG. */