| 1 |
/* Generated automatically by "genstr" from "isa-evolution.in". |
| 2 |
Please do not edit this file directly. |
| 3 |
|
| 4 |
Copyright (C) 2023-2025 Free Software Foundation, Inc. |
| 5 |
|
| 6 |
This file is part of GCC. |
| 7 |
|
| 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) |
| 11 |
any later version. |
| 12 |
|
| 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. |
| 17 |
|
| 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/>. |
| 21 |
*/ |
| 22 |
|
| 23 |
#include "config.h" |
| 24 |
#include "system.h" |
| 25 |
#include "coretypes.h" |
| 26 |
#include "options.h" |
| 27 |
|
| 28 |
#include "loongarch-evolution.h" |
| 29 |
|
| 30 |
int la_evo_feature_masks[] = { |
| 31 |
OPTION_MASK_ISA_FRECIPE, |
| 32 |
OPTION_MASK_ISA_DIV32, |
| 33 |
OPTION_MASK_ISA_LAM_BH, |
| 34 |
OPTION_MASK_ISA_LAMCAS, |
| 35 |
OPTION_MASK_ISA_LD_SEQ_SA, |
| 36 |
}; |
| 37 |
|
| 38 |
const char* la_evo_macro_name[] = { |
| 39 |
"__loongarch_frecipe", |
| 40 |
"__loongarch_div32", |
| 41 |
"__loongarch_lam_bh", |
| 42 |
"__loongarch_lamcas", |
| 43 |
"__loongarch_ld_seq_sa", |
| 44 |
}; |
| 45 |
|
| 46 |
int la_evo_version_major[] = { |
| 47 |
1, /* FRECIPE */ |
| 48 |
1, /* DIV32 */ |
| 49 |
1, /* LAM_BH */ |
| 50 |
1, /* LAMCAS */ |
| 51 |
1, /* LD_SEQ_SA */ |
| 52 |
}; |
| 53 |
|
| 54 |
int la_evo_version_minor[] = { |
| 55 |
1, /* FRECIPE */ |
| 56 |
1, /* DIV32 */ |
| 57 |
1, /* LAM_BH */ |
| 58 |
1, /* LAMCAS */ |
| 59 |
1, /* LD_SEQ_SA */ |
| 60 |
}; |