]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/aarch64/tuning_models/saphira.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / aarch64 / tuning_models / saphira.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_SAPHIRA
21#define GCC_AARCH64_H_SAPHIRA
22
23#include "generic.h"
24
25/* Tuning structure for the Qualcomm Saphira core. Default to falkor values
26 for now. */
27static const struct tune_params saphira_tunings =
28{
29 &generic_extra_costs,
30 &generic_addrcost_table,
31 &generic_regmove_cost,
32 &generic_vector_cost,
33 &generic_branch_cost,
34 &generic_approx_modes,
35 SVE_NOT_IMPLEMENTED, /* sve_width */
36 { 4, /* load_int. */
37 4, /* store_int. */
38 4, /* load_fp. */
39 4, /* store_fp. */
40 4, /* load_pred. */
41 4 /* store_pred. */
42 }, /* memmov_cost. */
43 4, /* issue_rate */
44 (AARCH64_FUSE_MOV_MOVK | AARCH64_FUSE_ADRP_ADD
45 | AARCH64_FUSE_MOVK_MOVK), /* fuseable_ops */
46 "16", /* function_align. */
47 "8", /* jump_align. */
48 "16", /* loop_align. */
49 2, /* int_reassoc_width. */
50 4, /* fp_reassoc_width. */
51 1, /* fma_reassoc_width. */
52 1, /* 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_NONE), /* tune_flags. */
58 &generic_prefetch_tune,
59 AARCH64_LDP_STP_POLICY_ALWAYS, /* ldp_policy_model. */
60 AARCH64_LDP_STP_POLICY_ALWAYS /* stp_policy_model. */
61};
62
63#endif /* GCC_AARCH64_H_SAPHIRA. */