1 /* Generated automatically by "genstr" from "isa-evolution.in".
2 Please do not edit this file directly.
4 Copyright (C) 2023-2024 Free Software Foundation, Inc.
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
13 GCC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
22 #ifndef LOONGARCH_CPUCFG_MAP_H
23 #define LOONGARCH_CPUCFG_MAP_H
27 static constexpr struct {
29 unsigned int cpucfg_bit
;
30 HOST_WIDE_INT isa_evolution_bit
;
32 { 2, 1u << 25, OPTION_MASK_ISA_FRECIPE
},
33 { 2, 1u << 26, OPTION_MASK_ISA_DIV32
},
34 { 2, 1u << 27, OPTION_MASK_ISA_LAM_BH
},
35 { 2, 1u << 28, OPTION_MASK_ISA_LAMCAS
},
36 { 3, 1u << 23, OPTION_MASK_ISA_LD_SEQ_SA
},
39 static constexpr int cpucfg_useful_idx
[] = {
50 static constexpr int N_CPUCFG_WORDS
= 20;
51 #endif /* LOONGARCH_CPUCFG_MAP_H */